diff --git a/lib/core/option.py b/lib/core/option.py index 4d93be191..e9f954795 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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():