mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
minor update
This commit is contained in:
parent
24bda96d9e
commit
61e3621855
|
@ -1501,10 +1501,15 @@ def __useWizardInterface():
|
||||||
if filter(lambda x: '=' in str(x), [conf.url, conf.data]) or '*' in conf.url:
|
if filter(lambda x: '=' in str(x), [conf.url, conf.data]) or '*' in conf.url:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
conf.url = conf.data = None
|
|
||||||
warnMsg = "no testable GET and/or POST parameter(s) found "
|
warnMsg = "no testable GET and/or POST parameter(s) found "
|
||||||
warnMsg += "(e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')"
|
warnMsg += "(e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')"
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
|
|
||||||
|
if conf.crawlDepth or conf.forms:
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
conf.url = conf.data = None
|
||||||
|
|
||||||
choice = None
|
choice = None
|
||||||
|
|
||||||
while choice is None or choice not in ("", "1", "2", "3"):
|
while choice is None or choice not in ("", "1", "2", "3"):
|
||||||
|
@ -1536,12 +1541,12 @@ def __useWizardInterface():
|
||||||
else:
|
else:
|
||||||
map(lambda x: conf.__setitem__(x, True), ['getBanner', 'getCurrentUser', 'getCurrentDb', 'isDba'])
|
map(lambda x: conf.__setitem__(x, True), ['getBanner', 'getCurrentUser', 'getCurrentDb', 'isDba'])
|
||||||
|
|
||||||
conf.batch = True
|
|
||||||
conf.threads = 4
|
|
||||||
|
|
||||||
logger.debug("muting sqlmap.. it will do the magic for you")
|
logger.debug("muting sqlmap.. it will do the magic for you")
|
||||||
conf.verbose = 0
|
conf.verbose = 0
|
||||||
|
|
||||||
|
conf.batch = True
|
||||||
|
conf.threads = 4
|
||||||
|
|
||||||
dataToStdout("\nsqlmap is running, please wait..\n\n")
|
dataToStdout("\nsqlmap is running, please wait..\n\n")
|
||||||
|
|
||||||
def __saveCmdline():
|
def __saveCmdline():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user