Open alasalamont opened 11 months ago
Currently, SSTImap is not supporting multipart/form-data content type. I am working on it, so hopefully I would be able to release an update soon enough.
In 1.2.0 it should be possible through text
and fromhex
data types.
Can you verify?
Proper multipart/form-data support would be added later
Can you instruc me the command line? I did try
python3 sstimap.py -u http://example.com -m POST --load-forms ./form --data-type fromhex
python3 sstimap.py -u http://example.com -m POST --load-forms ./form --data-type fromhex
python3 sstimap.py -u http://example.com -m POST --load-forms ./form
Where form
is the form that I saved from Burpsuite
And here is the output
[*] Version: 1.2.0
[*] Author: @vladko312
[*] Based on Tplmap
[!] LEGAL DISCLAIMER: Usage of SSTImap for attacking targets without prior mutual consent is illegal.
It is the end user's responsibility to obey all applicable local, state and federal laws.
Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] Loaded plugins by categories: languages: 5; legacy_engines: 2; engines: 17
[*] Loaded request body types: 4
[-] Error occurred while loading forms from file:
JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
[*] Scanning url: http://example.com
[-] Tested parameters appear to be not injectable.
--load-forms
is used to load forms saved by --save-forms
.
For now, SSTImap lacks the ability to load requests or request bodies from files. I will work on this feature.
--data-type fromhex
requires you to hex-encode data before adding injection markers.
For example: 536f6d6509*1b62797465730d0a00
This can be done to preserve line endings (0d0a
, \r\n
) or other unusual bytes
--load-forms
is used to load forms saved by--save-forms
.For now, SSTImap lacks the ability to load requests or request bodies from files. I will work on this feature.
--data-type fromhex
requires you to hex-encode data before adding injection markers. For example:536f6d6509*1b62797465730d0a00
This can be done to preserve line endings (0d0a
,\r\n
) or other unusual bytes
If am I not understanding wrong, for this WebKit form
, I have to use --data-type fromhex
,
Based on the example above, assume I want to test on fields[message]
at word test
. I have to hex encode data 2 part
test
at fields[message]
------WebKitFormBoundaryzZgoVbc9kBDZDmAs
Content-Disposition: form-data; name="CSRF_TOKEN
Yes, fromhex
would be better as you would be able to preserve \r\n
line endings as 0d0a
Hi, assume I have this POST request
How I can tell SSTImap test in from the input of field of Webkit form? I did try to use flag
--load-form
but it does not workRegards!