Ok, it seems that although wget writes
# HTTP cookie file
it should be
# HTTP Cookie File
with capital letters at the beginning of each word.

Boris


On 12/02/13 11:04, Boris Chazalet wrote:
Hi everyone,

I am trying to use the --load-cookies option on sqlmap. I have saved session cookies using wget and I am trying to load them in sqlmap with the following command:

/python sqlmap.py -u "http://mytestserver.com"; --load-cookies=cookies.txt/

but I get an error message:

/[11:00:32] [CRITICAL] there was a problem loading cookies file ('u'cookies.txt' does not look like a Netscape format cookies file')/

So my question is, what is supposed to be the accepted format for loading a cookie file into sqlmap?

Regards,
Boris

cookies.txt:
# HTTP cookie file.
# Generated by Wget on 2013-02-12 10:58:35.
# Edit at your own risk.

mytestserver.com FALSE /test FALSE 0 JSESSIONID 1064CC1958261C9D61D102C4C995611P.tcatmytestsrv




------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb


_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to