sql map

SQLmap Cheatsheet and Examples

SQLmap

Target the http://target.server.com URL using the “-u” flag: sqlmap -u ‘http://target.server.com’ Specify POST requests by specifying the “–data” flag: sqlmap -u ‘http://target.server.com’ –data=’param1=blah&param2=blah’ Target a vulnerable parameter in an authenticated session by specifying cookies using the “–cookie” flag: sqlmap -u ‘http://target.server.com’ –cookie=’JSESSIONID=09h76qoWC559GH1K7DSQHx’ Drop all Set-Cookie requests from the target web server using the “–drop-set-cookie” flag: sqlmap -u ‘http://target.server.com’ SQLmap Cheatsheet and Examples