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

Skip to content

Commit e275e8c

Browse files
committed
Fixes #1921
1 parent 77dea38 commit e275e8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ def _cleanupOptions():
16121612
conf.testParameter = []
16131613

16141614
if conf.agent:
1615-
conf.agent = conf.agent.strip("\r\n")
1615+
conf.agent = re.sub(r"[\r\n]", "", conf.agent)
16161616

16171617
if conf.user:
16181618
conf.user = conf.user.replace(" ", "")

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.6.11"
22+
VERSION = "1.0.6.12"
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)