Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00fc842

Browse files
committed
Update agent.py
1 parent 69701ba commit 00fc842

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/core/agent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
110110
paramString = origValue
111111
origValue = origValue.split(CUSTOM_INJECTION_MARK_CHAR)[0]
112112
origValue = origValue[origValue.index(',') + 1:]
113+
match = re.search(r"([^;]+)=(?P<value>[^;]+);?\Z", origValue)
114+
if match:
115+
origValue = match.group("value")
113116

114117
if conf.prefix:
115118
value = origValue

0 commit comments

Comments
 (0)