[sqlmap-users] --load-cookies
Brought to you by:
inquisb
From: Dirk W. <sp...@dr...> - 2013-04-12 13:13:45
|
Hi folks, .... that doesn't work for me. It always uses the cookie supplied (below in $REQUEST, or if I omit the line in $REQUEST the one from the 1st server reply is being used) So what is wrong in here: cd ~/networking/tools/sqlmap/sqlmap-dev1.0-dev-ea12cce ./sqlmap.py --ignore-proxy --force-ssl --beep \ --threads=8 -v 6 --load-cookies=$WD/cookie-file \ --level=2 --risk=2 -r $REQUEST The content of the file $REQUEST is: POST <URL> HTTP/1.1 Host: <HOST> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.6 Safari/525.13 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: <Referer> Cookie: JSESSIONID=C2E79FD79E967D3E3BA52EE67F8824D7 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 67 <abunchofpostparams> No hints that cookie-file is not in correct format (I've been through this, at least I think I so ;) ). Any insight would be much appreciated. Cheers, Dirk |