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

Skip to content

Commit 26cb07c

Browse files
committed
Bug fix (introduced in last hour or so)
1 parent 48c55d1 commit 26cb07c

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/core/agent.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,15 @@ def cleanupPayload(self, payload, origValue=None):
306306
if payload is None:
307307
return
308308

309-
replacements = (
310-
("[DELIMITER_START]", kb.chars.start),
311-
("[DELIMITER_STOP]", kb.chars.stop),
312-
("[AT_REPLACE]", kb.chars.at),
313-
("[SPACE_REPLACE]", kb.chars.space),
314-
("[DOLLAR_REPLACE]", kb.chars.dollar),
315-
("[HASH_REPLACE]", kb.chars.hash_),
316-
("[GENERIC_SQL_COMMENT]", GENERIC_SQL_COMMENT)
317-
)
309+
replacements = {
310+
"[DELIMITER_START]": kb.chars.start,
311+
"[DELIMITER_STOP]": kb.chars.stop,
312+
"[AT_REPLACE]": kb.chars.at,
313+
"[SPACE_REPLACE]": kb.chars.space,
314+
"[DOLLAR_REPLACE]": kb.chars.dollar,
315+
"[HASH_REPLACE]": kb.chars.hash_,
316+
"[GENERIC_SQL_COMMENT]": GENERIC_SQL_COMMENT
317+
}
318318

319319
for value in re.findall(r"\[[A-Z_]+\]", payload):
320320
if value in replacements:

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.49"
20+
VERSION = "1.3.4.50"
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)

0 commit comments

Comments
 (0)