mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-08 07:03:10 +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>
|
Daliev Ilya <daliser@yandex.ru>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
Jovon Itwaru <jovon.itwaru@gmail.com>
|
||||||
|
for reporting a minor bug
|
||||||
|
|
||||||
Prashant Jadhav <prashantjadhav.82@gmail.com>
|
Prashant Jadhav <prashantjadhav.82@gmail.com>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
|
|
@ -1652,10 +1652,10 @@ def __mergeOptions(inputOptions, overrideOptions):
|
||||||
conf[key] = value
|
conf[key] = value
|
||||||
|
|
||||||
def __setTrafficOutputFP():
|
def __setTrafficOutputFP():
|
||||||
infoMsg = "setting file for logging HTTP traffic"
|
|
||||||
logger.info(infoMsg)
|
|
||||||
|
|
||||||
if conf.trafficFile:
|
if conf.trafficFile:
|
||||||
|
infoMsg = "setting file for logging HTTP traffic"
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
conf.trafficFP = openFile(conf.trafficFile, "w+")
|
conf.trafficFP = openFile(conf.trafficFile, "w+")
|
||||||
|
|
||||||
def __setTorProxySettings():
|
def __setTorProxySettings():
|
||||||
|
|
|
@ -7,6 +7,7 @@ Copyright (c) 2006-2011 sqlmap developers (http://www.sqlmap.org/)
|
||||||
See the file 'doc/COPYING' for copying permission
|
See the file 'doc/COPYING' for copying permission
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import httplib
|
||||||
import re
|
import re
|
||||||
import threading
|
import threading
|
||||||
import urlparse
|
import urlparse
|
||||||
|
@ -61,6 +62,10 @@ class Crawler:
|
||||||
errMsg = "connection exception detected (%s). skipping " % e
|
errMsg = "connection exception detected (%s). skipping " % e
|
||||||
errMsg += "url '%s'" % current
|
errMsg += "url '%s'" % current
|
||||||
logger.critical(errMsg)
|
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:
|
if not kb.threadContinue:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user