minor update

This commit is contained in:
Miroslav Stampar 2011-11-02 14:33:23 +00:00
parent 24bda96d9e
commit 61e3621855

View File

@ -1501,10 +1501,15 @@ def __useWizardInterface():
if filter(lambda x: '=' in str(x), [conf.url, conf.data]) or '*' in conf.url:
break
else:
conf.url = conf.data = None
warnMsg = "no testable GET and/or POST parameter(s) found "
warnMsg += "(e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')"
logger.critical(warnMsg)
if conf.crawlDepth or conf.forms:
break
else:
conf.url = conf.data = None
choice = None
while choice is None or choice not in ("", "1", "2", "3"):
@ -1536,12 +1541,12 @@ def __useWizardInterface():
else:
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")
conf.verbose = 0
conf.batch = True
conf.threads = 4
dataToStdout("\nsqlmap is running, please wait..\n\n")
def __saveCmdline():