Hi.

Find it fixed in the latest commit. There shouldn't be such large session
files in future.

Now, please before you try it again just do the following (just strip the
rest after for example first 20 lines from the original session file):
head -20 <session_file> > tmp
mv tmp <session_file>

Kind regards,
Miroslav Stampar

On Sun, Dec 11, 2011 at 9:32 AM, Miroslav Stampar <
miroslav.stam...@gmail.com> wrote:

> 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" <t...@hotmail.com> 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
>> sqlmap-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>>
>>


-- 
Miroslav Stampar
http://about.me/stamparm
------------------------------------------------------------------------------
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
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to