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

How to fix the error #5

Open
brutexploiter opened this issue Oct 7, 2022 · 1 comment
Open

How to fix the error #5

brutexploiter opened this issue Oct 7, 2022 · 1 comment

Comments

@brutexploiter
Copy link

Hey I'm having port 8443 and getting error like that


/ \ \ / / | | \ / _ / | | / |__ \ / //_ |____ |
| | \ \ / /| |__ ______ ) | | | || | / /| | ) / /_ | | / /
| | \ / / | |
/ /| | | || | / /
| | / / ' | | / /
| |
\ / | |____ / /| || || | / / | |/ /| () | | / /
_
| / || ||___/ ||// ||_____/||//

[@intx0x80]

Poc Filename Poc.jsp
Traceback (most recent call last):
File "/home/anonymous/exploits/CVE-2017-12617 (Apache Tomcat RCE)/CVE-2017-12617.py", line 173, in
createPayload(str(url)+"/",checker)
File "/home/anonymous/exploits/CVE-2017-12617 (Apache Tomcat RCE)/CVE-2017-12617.py", line 60, in createPayload
req=requests.put(str(url)+str(f)+"/",data=evil, headers=headers)
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/api.py", line 130, in put
return request("put", url, data=data, **kwargs)
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/sessions.py", line 573, in request
prep = self.prepare_request(req)
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/sessions.py", line 484, in prepare_request
p.prepare(
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/home/anonymous/.local/lib/python3.10/site-packages/requests/models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'rl/Poc.jsp/': No scheme supplied. Perhaps you meant http://rl/Poc.jsp/?

@flashnuke
Copy link

seems like you didn't pass a url in the cmdline, pass it using the --url <url_here> cmdline arg

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

2 participants