mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46: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]: "
|
||||
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
|
||||
else:
|
||||
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')"
|
||||
logger.critical(warnMsg)
|
||||
choice = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user