mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-29 20:46:36 +00:00
changing to: --crawl=CRAWLDEPTH
This commit is contained in:
parent
3717b8423f
commit
eaa2a4202f
6 changed files with 12 additions and 22 deletions
|
|
@ -31,7 +31,7 @@ class Crawler:
|
|||
line option '--crawl'
|
||||
"""
|
||||
|
||||
def getTargetUrls(self, depth=1):
|
||||
def getTargetUrls(self):
|
||||
try:
|
||||
threadData = getCurrentThreadData()
|
||||
threadData.shared.outputs = oset()
|
||||
|
|
@ -98,7 +98,7 @@ class Crawler:
|
|||
|
||||
logger.info("starting crawler")
|
||||
|
||||
for i in xrange(depth):
|
||||
for i in xrange(conf.crawlDepth):
|
||||
threadData.shared.count = 0
|
||||
threadData.shared.length = len(threadData.shared.unprocessed)
|
||||
numThreads = min(conf.threads, len(threadData.shared.unprocessed))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue