mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor code refactoring
This commit is contained in:
parent
6afc9bffaa
commit
3869ccebe8
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue