-
Notifications
You must be signed in to change notification settings - Fork 672
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
Fix reverse shell DOES NOT WORK #72
base: master
Are you sure you want to change the base?
Conversation
Hi, I have tested this locally, any update? Or any problem? |
Many thanks for your contributions. Unfortunately I don't have time to thoroughly review and adjust PRs, but you can help by running the tests before submitting new PRs. It requires Docker and can be run launching Thanks |
Hi, I have already tested this in my machine. I didn't test with a vulnerable server, but tested by running the code in |
Still it shouldn't break the test suite (I quickly run it and it does). |
The code didn't work as intended? What was happening? |
Sorry for the late response, I currently don't have time to work on this. I'm happy to merge your PRs, but please make sure the tests passes (please follow the instructions above). Feel free to adjust the test suite if needed. |
Hi, I can't: $ sudo ./tests.sh
## Running ./run_channel_test.sh
Exposed testing APIs:
http://localhost:15001/reflect/mako?inj=*
http://localhost:15001/reflect/jinja2?inj=*
http://localhost:15001/post/mako?inj=*
http://localhost:15001/post/jinja2?inj=*
http://localhost:15001/limit/mako?inj=*
http://localhost:15001/limit/jinja2?inj=*
http://localhost:15001/put/mako?inj=*
http://localhost:15001/put/jinja2?inj=*
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? |
You need to install Docker, it virtualizes any application with the vulnerable template engine and test tplmap against it. It's also pretty cool as development infrastructure to develop new SSTI techniques. |
Idk, but I am unable to test this. I installed Docker with |
Take your time to run Docker in your machine. I'm more than happy to work with you and merge your changes as long as they don't break the test suite. |
Hi, the fact that I can't install Docker into my Linux subsystem for Windows. Can you test this? |
I'm sorry but I've no time for adjusting the test suite for the PRs. Consider using a Linux VM for development. |
Hi @epinna, can you use Github Actions for this? So we can automatically test every PRs and no one has to do it! |
I tested:
|
Currently, the reverse shell option does not work in my test. It still can receive the connection but Tplmap only sends the first character of the command that I entered. So I fixed it