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

Skip to content

Commit 6af127c

Browse files
committed
Fixes #3286
1 parent 880d438 commit 6af127c

4 files changed

Lines changed: 12 additions & 12 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.2.10.15"
22+
VERSION = "1.2.10.16"
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/threads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def exceptionHandledFunction(threadFunction, silent=False):
9292
kb.threadException = True
9393
raise
9494
except Exception, ex:
95-
if not silent:
95+
if not silent and kb.get("threadContinue"):
9696
logger.error("thread %s: %s" % (threading.currentThread().getName(), ex.message))
9797

9898
if conf.get("verbose") > 1:

sqlmap.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,6 @@ def main():
384384
with openFile(conf.harFile, "w+b") as f:
385385
json.dump(conf.httpCollector.obtain(), fp=f, indent=4, separators=(',', ': '))
386386

387-
if cmdLineOptions.get("sqlmapShell"):
388-
cmdLineOptions.clear()
389-
conf.clear()
390-
kb.clear()
391-
conf.disableBanner = True
392-
main()
393-
394387
if conf.get("api"):
395388
try:
396389
conf.databaseCursor.disconnect()
@@ -405,6 +398,13 @@ def main():
405398
_ = time.time()
406399
while threading.activeCount() > 1 and (time.time() - _) > THREAD_FINALIZATION_TIMEOUT:
407400
time.sleep(0.01)
401+
402+
if cmdLineOptions.get("sqlmapShell"):
403+
cmdLineOptions.clear()
404+
conf.clear()
405+
kb.clear()
406+
conf.disableBanner = True
407+
main()
408408
except KeyboardInterrupt:
409409
pass
410410
finally:

txt/checksum.md5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
ca4c50212724a4ea997265f419803db1 lib/core/settings.py
52+
bd070cf6683de2f9ed462d35eba1ead5 lib/core/settings.py
5353
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
62bc180e3e828949ffb342a8f756c183 lib/core/target.py
5656
72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
57-
29efb66f3c444c09d29925cf552851cd lib/core/threads.py
57+
cd0067d1798e45f422ce44b98baf57db lib/core/threads.py
5858
c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
5959
b35636650cfe721f5cc47fb91737c061 lib/core/update.py
6060
e772deb63270375e685fa5a7b775c382 lib/core/wordlist.py
@@ -227,7 +227,7 @@ ec2ba8c757ac96425dcd2b97970edd3a shell/stagers/stager.asp_
227227
0c48ddb1feb7e38a951ef05a0d48e032 shell/stagers/stager.jsp_
228228
2f9e459a4cf6a58680978cdce5ff7971 shell/stagers/stager.php_
229229
cd90da0474d7b1a67d7b40d208493375 sqlmapapi.py
230-
c6f90d321b9ec7bff5b3be15cd4e19d8 sqlmap.py
230+
d94547672ec6dbc4c2adffbf62bd36d4 sqlmap.py
231231
523dab9e1093eb59264c6beb366b255a tamper/0x2char.py
232232
3a1697585ae4e7bf315e9dda97d6f321 tamper/apostrophemask.py
233233
d7a119a74be9b385ee3884fb5e6af041 tamper/apostrophenullencode.py

0 commit comments

Comments
 (0)