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

Skip to content

Commit 7fea8d6

Browse files
committed
Fixes #2028
1 parent 1e6191e commit 7fea8d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
120120
elif place == PLACE.CUSTOM_HEADER:
121121
paramString = origValue
122122
origValue = origValue.split(CUSTOM_INJECTION_MARK_CHAR)[0]
123-
origValue = origValue[origValue.index(',') + 1:]
123+
origValue = origValue[origValue.find(',') + 1:]
124124
match = re.search(r"([^;]+)=(?P<value>[^;]+);?\Z", origValue)
125125
if match:
126126
origValue = match.group("value")

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.7.26"
22+
VERSION = "1.0.7.27"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)