Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to upload file to webwolf #1737

Open
James-Lu-none opened this issue Feb 3, 2024 · 7 comments
Open

unable to upload file to webwolf #1737

James-Lu-none opened this issue Feb 3, 2024 · 7 comments

Comments

@James-Lu-none
Copy link

James-Lu-none commented Feb 3, 2024

i was trying to upload file to webwolf, but i got this
image

and here is the request and the response,
image

i am on commit b67eb44, and i modified and build the docker image myself with eclipse-temurin:19-jdk-focal instead of eclipse-temurin:21.0.1_12-jre to complete the assingment SQLI(mitigation) Q6.

Copy link

github-actions bot commented Feb 3, 2024

Thanks for submitting your first issue, we will have a look as quickly as possible.

@James-Lu-none
Copy link
Author

oh, the image i repulled from the docker hub some how works now for uploading files and java compiler

@James-Lu-none
Copy link
Author

i tried to build the image myself using the following command:
./mvnw.cmd clean install
docker build -f Dockerfile . -t webgoat/webgoat
but it seems there are some fails in the test when i do ./mvnw.cmd clean install, like:
image

@cap-dev0x
Copy link
Contributor

Hi! As the old epigram goes...it's working on my machine. Do you mind answering a few questions?

  1. What version of Java are you using?
  2. What OS are you on?
  3. Can you confirm that you are on the main branch?
  4. Can you verify which git revision you are on?
  5. Can you confirm that the code is unchanged, or have you applied any modifications before running the tests?

Thanks, and I'll get back to you as soon as I get the time to help.

@James-Lu-none
Copy link
Author

  1. What version of Java are you using? java 17.0.10 2024-01-16 LTS
  2. What OS are you on? windows 11
  3. Can you confirm that you are on the main branch? yes
  4. Can you verify which git revision you are on? b67eb44
  5. Can you confirm that the code is unchanged, or have you applied any modifications before running the tests? yes it is unchanged
    image

@harmin-parra
Copy link

harmin-parra commented Apr 8, 2024

I also have this problem.

Unable to load files to WebWolf server

Java version: 17.0.9
OS: Linux Mint
WebGoat release: webgoat-2023.8.jar

@siblount
Copy link

siblount commented Apr 9, 2024

I'm having the same issue. Seems like it's attempting to copy/delete a directory but was given a file path (got "not a directory" error).
See log: log.txt

WebGoat release: webgoat-2023.8.jar
OS: Ubuntu Server
Java Version:
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants