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

Skip to content

Commit a651c8a

Browse files
committed
Fixes #2779
1 parent b608c21 commit a651c8a

3 files changed

Lines changed: 8 additions & 9 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.11.20"
22+
VERSION = "1.1.11.21"
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: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,21 +138,20 @@ def main():
138138
dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True)
139139
dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True)
140140

141-
# Delayed imports (33% of all imports)
142-
from lib.controller.controller import start
143-
from lib.core.profiling import profile
144-
from lib.core.testing import smokeTest
145-
from lib.core.testing import liveTest
146-
147141
init()
148142

143+
# Postponed imports (faster start)
149144
if conf.profile:
145+
from lib.core.profiling import profile
150146
profile()
151147
elif conf.smokeTest:
148+
from lib.core.testing import smokeTest
152149
smokeTest()
153150
elif conf.liveTest:
151+
from lib.core.testing import liveTest
154152
liveTest()
155153
else:
154+
from lib.controller.controller import start
156155
try:
157156
start()
158157
except thread.error as ex:

txt/checksum.md5

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

0 commit comments

Comments
 (0)