mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor code refactoring
This commit is contained in:
parent
6afc9bffaa
commit
3869ccebe8
|
@ -637,11 +637,11 @@ class Agent:
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
||||||
if inpStr:
|
if inpStr:
|
||||||
regObj = getCompiledRegex("(?P<result>%s.*?%s)" % (PAYLOAD_DELIMITER, PAYLOAD_DELIMITER))
|
regObj = getCompiledRegex("%s(?P<result>.*?)%s" % (PAYLOAD_DELIMITER, PAYLOAD_DELIMITER))
|
||||||
match = regObj.search(inpStr)
|
match = regObj.search(inpStr)
|
||||||
|
|
||||||
if match:
|
if match:
|
||||||
retVal = match.group("result")[1:-1]
|
retVal = match.group("result")
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user