mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor beautification
This commit is contained in:
parent
8b7a3c5a6b
commit
2f456bee75
|
@ -1426,11 +1426,11 @@ def __useWizardInterface():
|
||||||
message = "POST data (--data) [Enter for None]: "
|
message = "POST data (--data) [Enter for None]: "
|
||||||
conf.data = readInput(message, default=None)
|
conf.data = readInput(message, default=None)
|
||||||
|
|
||||||
if any(filter(lambda x: '=' in str(x), [conf.url, conf.data])):
|
if filter(lambda x: '=' in str(x), [conf.url, conf.data]) or '*' in conf.url:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
conf.url = conf.data = None
|
conf.url = conf.data = None
|
||||||
warnMsg = "no testable 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)
|
||||||
choice = None
|
choice = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user