Re: [sqlmap-users] error when load a large session file
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2011-12-11 08:33:01
|
Hi. This is odd ass now SQLite is used for SQL responses. Could.you please take a look into it (at least 'tail' of it) and report what's stored inside? Kind regards On Dec 10, 2011 2:14 PM, "CoeTs7" <tm...@ho...> wrote: > hi, veryone: > first thanks for the improvement the dev team have done. Again i met > another problem today: > i want to dump a large table into a csv format file using --dump, but the > process is interrupted. so i restart the sqlmap to go on dumping process. > but sqlmap exited with this error: > > *sqlmap version: 1.0-dev (r4577)* > *Python version: 2.6.5* > *Operating system: posix* > *Command line: /root/sqlmap-dev/sqlmap.py -u > ************************************ --data > __EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTExNTc0NTExMDFkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQhidG5Mb2dpbp3vdb50NBPJYzWlZFZWJJY9toPi&__EVENTVALIDATION=%2FwEWBAKpi5vuDwKl1bKzCQK1qbSRCwKC3IeGDFW12pkpDGT2BoBndGNsu1HoD82G&txtUserName=testf&txtPassword=test&btnLogin.x=18&btnLogin.y=9 > -p txtUserName --technique=E -D ***** -T **************** --dump --thread 10 > * > *Technique: None* > *Back-end DBMS: None (identified)* > *Traceback (most recent call last):* > * File "/root/sqlmap-dev/_sqlmap.py", line 86, in main* > * start()* > * File "/root/sqlmap-dev/lib/controller/controller.py", line 335, in > start* > * setupTargetEnv()* > * File "/root/sqlmap-dev/lib/core/target.py", line 397, in setupTargetEnv > * > * __setOutputResume()* > * File "/root/sqlmap-dev/lib/core/target.py", line 220, in > __setOutputResume* > * for line in readSessionFP.readlines(): # xreadlines doesn't return > unicode strings when codec.open() is used* > * File "/usr/lib/python2.6/codecs.py", line 674, in readlines* > * return self.reader.readlines(sizehint)* > * File "/usr/lib/python2.6/codecs.py", line 583, in readlines* > * data = self.read()* > * File "/usr/lib/python2.6/codecs.py", line 472, in read* > * newchars, decodedbytes = self.decode(data, self.errors)* > *MemoryError* > > the session file is about 800MB. i think the problem is that sqlmap is > trying to load the whole session file into memory but there is no enough > memory left. > is there any solution to solve this big file problem ? thx a lot. > > > Regards, > tm3y > > > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > |