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

Error parameter not recognized in JSON body request #37

Open
slicingmelon opened this issue Aug 18, 2021 · 1 comment
Open

Error parameter not recognized in JSON body request #37

slicingmelon opened this issue Aug 18, 2021 · 1 comment

Comments

@slicingmelon
Copy link

Hi,

I have the following request saved from burp to a file:
image

And I am running the tool as follows:
python3 ssrfmap.py -r /home/user/Desktop/ssrfmap2.txt -p file_url -m portscan --ssl

I get the following error:
[ERROR]:No injection point found ! (use -p)

For some reason, it cannot parse parameter from the request file.

@danielserbu
Copy link

Hi,
I encountered the same problem and I solved it by properly formatting the JSON inside the request.
Alongside the error you posted, I also had "[WARNING]:Bad Format or Raw data !"
Solution:
Make sure to have the JSON string in one single line like:
{"file_url": "https://mylovelyurly.com/imagepng", "some_other_param": "ok"}
Same as in the example https://github.com/swisskyrepo/SSRFmap/blob/master/data/request2.txt

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