After playing around with sqlmap for a while, I noticed the support for
retries doesn't exist, if for some reason a site doesn't respond in a
certain amount of time, it errors, and quits the application. What would
be a nice if you could set the timeout time, AND the option to retry the
query X many times, if it goes through X many retries then go ahead and
quit.
Just something to think about put in the todo or whatever. :)
Example, in thread mode, but does the same in single thread but without
the traceback
Exception in thread Thread-34:
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/.sqlmap/sqlmap/lib/techniques/blind/inference.py", line
145, in downloadThread
val = getChar(curidx)
File "/root/.sqlmap/sqlmap/lib/techniques/blind/inference.py", line
97, in getChar
result = Request.queryPage(forgedPayload)
File "/root/.sqlmap/sqlmap/lib/request/connect.py", line 255, in
queryPage
page = Connect.getPage(get=get, post=post, cookie=cookie, ua=ua)
File "/root/.sqlmap/sqlmap/lib/request/connect.py", line 172, in
getPage
raise sqlmapConnectionException, warnMsg
sqlmapConnectionException: unable to connect to the target url or proxy
|