Skip to content

Commit 06ca058

Browse files
committed
Fixes #2812
1 parent 370884d commit 06ca058

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

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.12.4"
22+
VERSION = "1.1.12.5"
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)

sqlmap.py

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -140,27 +140,28 @@ def main():
140140

141141
init()
142142

143-
# Postponed imports (faster start)
144-
if conf.profile:
145-
from lib.core.profiling import profile
146-
profile()
147-
elif conf.smokeTest:
148-
from lib.core.testing import smokeTest
149-
smokeTest()
150-
elif conf.liveTest:
151-
from lib.core.testing import liveTest
152-
liveTest()
153-
else:
154-
from lib.controller.controller import start
155-
try:
156-
start()
157-
except thread.error as ex:
158-
if "can't start new thread" in getSafeExString(ex):
159-
errMsg = "unable to start new threads. Please check OS (u)limits"
160-
logger.critical(errMsg)
161-
raise SystemExit
162-
else:
163-
raise
143+
if not conf.updateAll:
144+
# Postponed imports (faster start)
145+
if conf.profile:
146+
from lib.core.profiling import profile
147+
profile()
148+
elif conf.smokeTest:
149+
from lib.core.testing import smokeTest
150+
smokeTest()
151+
elif conf.liveTest:
152+
from lib.core.testing import liveTest
153+
liveTest()
154+
else:
155+
from lib.controller.controller import start
156+
try:
157+
start()
158+
except thread.error as ex:
159+
if "can't start new thread" in getSafeExString(ex):
160+
errMsg = "unable to start new threads. Please check OS (u)limits"
161+
logger.critical(errMsg)
162+
raise SystemExit
163+
else:
164+
raise
164165

165166
except SqlmapUserQuitException:
166167
errMsg = "user quit"

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ f872699e948d0692ce11b54781da814c lib/core/log.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
d69c0df794980411124dc8220b625d40 lib/core/settings.py
49+
f3cab97ab7305ad7ea0347825c4f09b2 lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
d93501771b41315f9fb949305b6ed257 lib/core/target.py
@@ -224,7 +224,7 @@ c3cc8b7727161e64ab59f312c33b541a shell/stagers/stager.aspx_
224224
1f7f125f30e0e800beb21e2ebbab18e1 shell/stagers/stager.jsp_
225225
01e3505e796edf19aad6a996101c81c9 shell/stagers/stager.php_
226226
c737efc0afe782c5dcfec9d27e827515 sqlmapapi.py
227-
5055a9d152e379fd7d55cbbf06025834 sqlmap.py
227+
2e96b06a471933baee72b803dfdceff6 sqlmap.py
228228
ba9bb7b0fbfbd408c24bc99b3c8f0fd9 tamper/apostrophemask.py
229229
aa046ea026a3c72b714e726a2e775cd4 tamper/apostrophenullencode.py
230230
0418d808878bf7cac4a28350116e64d0 tamper/appendnullbyte.py

0 commit comments

Comments
 (0)