mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
quick fix for a bug reported by jovon.itwaru@gmail.com
This commit is contained in:
parent
98958f8808
commit
f5e45bf113
|
@ -215,6 +215,9 @@ Daniel Huckmann <sanitybit@gmail.com>
|
|||
Daliev Ilya <daliser@yandex.ru>
|
||||
for reporting a bug
|
||||
|
||||
Jovon Itwaru <jovon.itwaru@gmail.com>
|
||||
for reporting a minor bug
|
||||
|
||||
Prashant Jadhav <prashantjadhav.82@gmail.com>
|
||||
for reporting a bug
|
||||
|
||||
|
|
|
@ -1652,10 +1652,10 @@ def __mergeOptions(inputOptions, overrideOptions):
|
|||
conf[key] = value
|
||||
|
||||
def __setTrafficOutputFP():
|
||||
infoMsg = "setting file for logging HTTP traffic"
|
||||
logger.info(infoMsg)
|
||||
|
||||
if conf.trafficFile:
|
||||
infoMsg = "setting file for logging HTTP traffic"
|
||||
logger.info(infoMsg)
|
||||
|
||||
conf.trafficFP = openFile(conf.trafficFile, "w+")
|
||||
|
||||
def __setTorProxySettings():
|
||||
|
|
|
@ -7,6 +7,7 @@ Copyright (c) 2006-2011 sqlmap developers (http://www.sqlmap.org/)
|
|||
See the file 'doc/COPYING' for copying permission
|
||||
"""
|
||||
|
||||
import httplib
|
||||
import re
|
||||
import threading
|
||||
import urlparse
|
||||
|
@ -61,6 +62,10 @@ class Crawler:
|
|||
errMsg = "connection exception detected (%s). skipping " % e
|
||||
errMsg += "url '%s'" % current
|
||||
logger.critical(errMsg)
|
||||
except httplib.InvalidURL, e:
|
||||
errMsg = "invalid url detected (%s). skipping " % e
|
||||
errMsg += "url '%s'" % current
|
||||
logger.critical(errMsg)
|
||||
|
||||
if not kb.threadContinue:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue
Block a user