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

Skip to content

Commit c4e3ce1

Browse files
committed
Fixes #3598
1 parent 9a0a803 commit c4e3ce1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

1919
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20-
VERSION = "1.3.4.33"
20+
VERSION = "1.3.4.34"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ class _(six.text_type):
729729
setattr(conf.data, UNENCODED_ORIGINAL_VALUE, original)
730730
kb.postSpaceToPlus = '+' in original
731731

732-
match = re.search(INJECT_HERE_REGEX, conf.data or "") or re.search(INJECT_HERE_REGEX, conf.url or "")
732+
match = re.search(INJECT_HERE_REGEX, "%s %s %s" % (conf.url, conf.data, conf.httpHeaders))
733733
kb.customInjectionMark = match.group(0) if match else CUSTOM_INJECTION_MARK_CHAR
734734

735735
def setupTargetEnv():

0 commit comments

Comments
 (0)