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

Skip to content

Commit a42ddad

Browse files
committed
Implements #2583
1 parent a297329 commit a42ddad

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

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.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.6.16"
22+
VERSION = "1.1.6.17"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import functools
1010
import os
1111
import re
12+
import subprocess
13+
import sys
1214
import tempfile
1315
import time
1416
import urlparse
@@ -669,6 +671,7 @@ def _createTargetDirs():
669671
with codecs.open(os.path.join(conf.outputPath, "target.txt"), "w+", UNICODE_ENCODING) as f:
670672
f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname)
671673
f.write(" (%s)" % (HTTPMETHOD.POST if conf.data else HTTPMETHOD.GET))
674+
f.write(" # %s" % subprocess.list2cmdline(sys.argv))
672675
if conf.data:
673676
f.write("\n\n%s" % getUnicode(conf.data))
674677
except IOError, ex:

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ f1531be15ed98555a9010e2db3c9da75 lib/core/optiondict.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
eb85258f2210f61c790e13a6cba169e6 lib/core/settings.py
49+
8d0b5e0cf62b471364b8a869b4ba3e51 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
52-
04cca8a05faef752c98d1a775d98a0e6 lib/core/target.py
52+
3093cbe70c358a0c88a57de0ff46dd77 lib/core/target.py
5353
8970b88627902239d695280b1160e16c lib/core/testing.py
5454
40881e63d516d8304fc19971049cded0 lib/core/threads.py
5555
ad74fc58fc7214802fd27067bce18dd2 lib/core/unescaper.py

0 commit comments

Comments
 (0)