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

Skip to content

Commit d248317

Browse files
committed
Update for people that just download 'sqlmap.py' <- they exist
1 parent 75fd878 commit d248317

3 files changed

Lines changed: 7 additions & 4 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.7.12"
22+
VERSION = "1.1.7.13"
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
sys.dont_write_bytecode = True
1111

12-
__import__("lib.utils.versioncheck") # this has to be the first non-standard import
12+
try:
13+
__import__("lib.utils.versioncheck") # this has to be the first non-standard import
14+
except ImportError:
15+
exit("[!] wrong installation detected (missing modules). Visit 'https://github.com/sqlmapproject/sqlmap/#installation' for further details")
1316

1417
import bdb
1518
import distutils

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ b9ff4e622c416116bee6024c0f050349 lib/core/enums.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
2bb10701c510923bc3e3e3744488cf01 lib/core/settings.py
49+
638ce6f9130caedbc067d2cf1dc8afc6 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
4416fdcab26b286a5a3a88e75aa60044 lib/core/target.py
@@ -224,7 +224,7 @@ c3cc8b7727161e64ab59f312c33b541a shell/stager.aspx_
224224
1f7f125f30e0e800beb21e2ebbab18e1 shell/stager.jsp_
225225
01e3505e796edf19aad6a996101c81c9 shell/stager.php_
226226
0751a45ac4c130131f2cdb74d866b664 sqlmapapi.py
227-
b83d4f9b170014ff158f3caa7b735415 sqlmap.py
227+
9d91bcb91acf7f623f701d528357bba1 sqlmap.py
228228
08c711a470d7e0bf705320ba3c48b886 tamper/apostrophemask.py
229229
e8509df10d3f1c28014d7825562d32dd tamper/apostrophenullencode.py
230230
bb27f7dc980ea07fcfedbd7da5e5e029 tamper/appendnullbyte.py

0 commit comments

Comments
 (0)