Skip to content

MemoryError on really big (non UNION) responses #139

@stamparm

Description

@stamparm
[*] starting at 14:00:21

[14:00:22] [INFO] testing connection to the target url
[14:00:23] [INFO] testing if the url is stable, wait a few seconds
[14:00:24] [INFO] url is stable
[14:00:24] [INFO] testing if GET parameter 'block' is dynamic
[14:00:25] [INFO] confirming that GET parameter 'block' is dynamic
[14:00:27] [INFO] GET parameter 'block' is dynamic
[14:00:36] [WARNING] large response detected. This could take a while

[14:02:56] [CRITICAL] unhandled exception in sqlmap/1.0-dev-b483710,
retry your run with the latest development version from the G
itHub repository. If the exception persists, please send by e-mail to
'sqlmap-users@lists.sourceforge.net' or open a new issue at
'https://github.com/sqlmapproject/sqlmap/issues/new' with the following
text and any information required to reproduce the bug. Th
e developers will try to reproduce the bug, fix it accordingly and get
back to you.
sqlmap version: 1.0-dev-b483710
Python version: 2.7.3
Operating system: nt
Command line: D:\Soft\sqlmap-dev\sqlmap.py -u
************************************ --current-user --current-db
--is-dba --tables -
-dbs -c bulk
Technique: None
Back-end DBMS: None (identified)
Traceback (most recent call last):
   File "D:\Soft\sqlmap-dev\_sqlmap.py", line 72, in main
     start()
   File "D:\Soft\sqlmap-dev\lib\controller\controller.py", line 458, in
start
     check = heuristicCheckSqlInjection(place, parameter)
   File "D:\Soft\sqlmap-dev\lib\controller\checks.py", line 627, in
heuristicCheckSqlInjection
     page, _ = Request.queryPage(payload, place, content=True,
raise404=False)
   File "D:\Soft\sqlmap-dev\lib\request\connect.py", line 732, in queryPage
     page, headers, code = Connect.getPage(url=uri, get=get, post=post,
cookie=cookie, ua=ua, referer=referer, host=host, silent=si
lent, method=method, auxHeaders=auxHeaders, response=response,
raise404=raise404, ignoreTimeout=timeBasedCompare)
   File "D:\Soft\sqlmap-dev\lib\request\connect.py", line 498, in getPage
     page = page if isinstance(page, unicode) else getUnicode(page)
   File "D:\Soft\sqlmap-dev\lib\core\common.py", line 1861, in getUnicode
     return unicode(value, UNICODE_ENCODING, "replace")
   File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
     return codecs.utf_8_decode(input, errors, True)
MemoryError

[*] shutting down at 14:02:56

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions