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

Multipart Form Requests? #57

Open
spencer5cent opened this issue Jan 21, 2025 · 0 comments
Open

Multipart Form Requests? #57

spencer5cent opened this issue Jan 21, 2025 · 0 comments

Comments

@spencer5cent
Copy link

Does this work with Multipart form requests? Here's my command output:
python3 ssrfmap.py -r request.txt -p url -m portscan


/ / | ___ \ |
\ --.\ --.| |
/ / |
_ __ ___ __ _ _ __
--. \--. \ /| | ' _ \ / _ | '
\
/_
/ /_
/ / |\ | | | | | | | | (
| | |
) |
_
/_/_| __| || || ||_,| .__/
| |
|
|
[INFO]:Module 'portscan' launched !
[ERROR]:No injection point found ! (use -p)

And here's the request.txt:

POST /redacted534?json=1 HTTP/1.1
Host: redacted
Cookie: redacted
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.140 Safari/537.36
Accept: /
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary6dRjMfnefHjJMvKz
Tracestate: 183613@nr=0-1-4138914-1386115355-79aec0c709a9b44f----1737448837527

------WebKitFormBoundary6dRjMfnefHjJMvKz
Content-Disposition: form-data; name="source"

albums
------WebKitFormBoundary6dRjMfnefHjJMvKz
Content-Disposition: form-data; name="album"

Uploaded on January 21, 2025
------WebKitFormBoundary6dRjMfnefHjJMvKz
Content-Disposition: form-data; name="url"

INJECT_HERE
------WebKitFormBoundary6dRjMfnefHjJMvKz
Content-Disposition: form-data; name="name"

bluebird.jpg
------WebKitFormBoundary6dRjMfnefHjJMvKz--

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

1 participant