mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
avoiding annoying "payload 'None' possibly..." in case where payload is not specified
This commit is contained in:
parent
941daa1645
commit
0ae74f27e4
|
@ -33,6 +33,9 @@ def checkPayload(payload):
|
||||||
PHPIDS filter rules
|
PHPIDS filter rules
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if not payload:
|
||||||
|
return
|
||||||
|
|
||||||
global rules
|
global rules
|
||||||
|
|
||||||
detected = False
|
detected = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user