mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
avoiding annoying "payload 'None' possibly..." in case where payload is not specified
This commit is contained in:
parent
941daa1645
commit
0ae74f27e4
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@ def checkPayload(payload):
|
|||
PHPIDS filter rules
|
||||
"""
|
||||
|
||||
if not payload:
|
||||
return
|
||||
|
||||
global rules
|
||||
|
||||
detected = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue