mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
avoiding annoying "payload 'None' possibly..." in case where payload is not specified
This commit is contained in:
@@ -33,6 +33,9 @@ def checkPayload(payload):
|
||||
PHPIDS filter rules
|
||||
"""
|
||||
|
||||
if not payload:
|
||||
return
|
||||
|
||||
global rules
|
||||
|
||||
detected = False
|
||||
|
||||
Reference in New Issue
Block a user