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 with sending POST content #31

Open
Tester0940 opened this issue Aug 9, 2019 · 3 comments
Open

Error with sending POST content #31

Tester0940 opened this issue Aug 9, 2019 · 3 comments

Comments

@Tester0940
Copy link

Hello,

I have following problem - I can't specify content which should be send via POST method.

Here are example parameters which I used:
xcat.exe run http://127.0.0.1:8080/aaaa --true-string "asd" asd asd=z --body=body.txt --encode=form

I have this error:
Error: Can only use --body with url encoding

Do you have any ideas how can I resolve this error ?

Second question is:
Is possible to provide injection point into POST body - not only via GET method ?

Thanks in advance !

@init5-SF
Copy link

I have the exact same issue!

@gjm-anban
Copy link

same issue too

@CyberYeagerist
Copy link

You guys may have missed a few arguments as well there is a possibility like it was in my case that --encode=url was not actually a url but form (stupid of me simple mistake :x). This is the command that worked for me prior I used the same command as @Tester0940:

xcat run -m POST http://example.com/somefile.php email "email=foo-bar%40example.com' or '1'='1" --true-string=someString -e FORM

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

4 participants