Comments (7)
Hi @adamczi, sorry for the delay getting back with you on this. I spoke with the Hunter2 folks and I think we've solved this issue. Would you mind giving it a try again and see if it cooperates?
from appsec-education.
Hi, I checked quickly the lab and it's web endpoint and they both seem to work. Thanks a lot!
from appsec-education.
Tried the next Python lab: The Power of None, with the same result - no code for me. Though React lab (React string sanitization) seems to work.
from appsec-education.
Hi there @adamczi - sorry to hear you're having trouble with these labs. As they were designed to work with the Hunter2 platform (now Veracode Security Labs) and not in a general Docker environment, there might be some issues just running them outside of that platform.
That said, you shouldn't need to run that boot
command to get the web server started up. I believe it should just be running when you bring up the docker container. Could you check and see if this is the case? I believe it defaults to localhost:5000
.
from appsec-education.
Hi @ccornutt-duo , thanks for your answer, but I actually am running it online at https://community.hunter2.com, not on a local Docker container. Is that what you mean? The boot
command runs automatically at the terminal on the website, my only input was ls -la .
.
from appsec-education.
Ahh, okay - try using this to see if it clears it up:
cd ..; cd web; boot;
There's a known issue with how the instance is set up on the platform that we're working on that could be causing this. Sorry for the trouble!
from appsec-education.
Hi, after doing cd ..
I'm not able to get back into web
anymore. It is not listed:
~/web$ cd ..
~$ cd web
bash: cd: web: No such file or directory
~$ ls -la
total 52
drwxr-xr-x 1 whitehat whitehat 4096 Mar 13 13:39 .
drwxr-xr-x 1 root root 4096 Feb 14 18:05 ..
-rw-r--r-- 1 whitehat whitehat 220 May 15 2017 .bash_logout
-rw-r--r-- 1 whitehat whitehat 3652 Feb 14 18:06 .bashrc
-rw-r--r-- 1 whitehat whitehat 675 May 15 2017 .profile
-rw-rw-r-- 1 whitehat whitehat 106 Feb 14 16:33 .vimrc
-rwxrwxr-x 1 whitehat whitehat 920 Mar 13 13:39 boot.sh
-rwxrwxr-x 1 whitehat whitehat 2033 Feb 14 18:03 boot_lib.sh
-rw-r--r-- 1 whitehat whitehat 49 Mar 13 13:39 error.log
drwxr-xr-x 1 whitehat whitehat 4096 Feb 14 18:07 venvs
nor I can access it using cd -
:
~$ cd -
bash: cd: /home/whitehat/web: No such file or directory
Although I'm able to create this directory, any boot
script won't work since there is no code inside that directory (so error.log reports ImportError: No module named 'app'
).
from appsec-education.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appsec-education.