mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
sorry Bernardo, i hope your mobile is turned off :)))
This commit is contained in:
parent
2a4a284a29
commit
dfc02d8c3c
|
@ -54,7 +54,7 @@ class Crawler:
|
|||
|
||||
content = None
|
||||
try:
|
||||
if current.split('.')[-1].lower() not in CRAWL_EXCLUDE_EXTENSIONS:
|
||||
if current:
|
||||
content = Request.getPage(url=current, raise404=False)[0]
|
||||
except sqlmapConnectionException, e:
|
||||
errMsg = "connection exception detected (%s). skipping " % e
|
||||
|
@ -79,11 +79,12 @@ class Crawler:
|
|||
elif not target:
|
||||
continue
|
||||
|
||||
kb.locks.outputs.acquire()
|
||||
threadData.shared.deeper.add(url)
|
||||
if re.search(r"(.*?)\?(.+)", url):
|
||||
threadData.shared.outputs.add(url)
|
||||
kb.locks.outputs.release()
|
||||
if url.split('.')[-1].lower() not in CRAWL_EXCLUDE_EXTENSIONS:
|
||||
kb.locks.outputs.acquire()
|
||||
threadData.shared.deeper.add(url)
|
||||
if re.search(r"(.*?)\?(.+)", url):
|
||||
threadData.shared.outputs.add(url)
|
||||
kb.locks.outputs.release()
|
||||
|
||||
if conf.verbose in (1, 2):
|
||||
kb.locks.ioLock.acquire()
|
||||
|
|
Loading…
Reference in New Issue
Block a user