mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
adding compatibility support for using --crawl and --forms together
This commit is contained in:
parent
ddc4dfe5ff
commit
ef987c6954
4 changed files with 16 additions and 9 deletions
|
|
@ -15,6 +15,7 @@ import time
|
|||
|
||||
from lib.core.common import clearConsoleLine
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import findPageForms
|
||||
from lib.core.common import singleTimeWarnMessage
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
|
|
@ -92,6 +93,9 @@ class Crawler:
|
|||
threadData.shared.outputs.add(url)
|
||||
kb.locks.outputs.release()
|
||||
|
||||
if conf.forms:
|
||||
findPageForms(content, current, False, True)
|
||||
|
||||
if conf.verbose in (1, 2):
|
||||
kb.locks.ioLock.acquire()
|
||||
threadData.shared.count += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue