mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor refactoring
This commit is contained in:
@@ -242,6 +242,13 @@ class Agent:
|
||||
|
||||
return payload
|
||||
|
||||
def adjustSleepTime(self, payload):
|
||||
"""
|
||||
Returns payload with a replaced tag for SLEEPTIME
|
||||
"""
|
||||
|
||||
return payload.replace("[SLEEPTIME]", str(conf.timeSec)) if payload else payload
|
||||
|
||||
def getComment(self, request):
|
||||
"""
|
||||
Returns comment form for the given request
|
||||
|
||||
Reference in New Issue
Block a user