mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Removing dependency for bz2 as there are some reported problems with the library on non-standard platforms
This commit is contained in:
parent
45c88b36c6
commit
8e2f4669d8
15 changed files with 4 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ PYVERSION = sys.version.split()[0]
|
|||
if PYVERSION >= "3" or PYVERSION < "2.6":
|
||||
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use version 2.6 or 2.7 (visit 'http://www.python.org/download/')" % PYVERSION)
|
||||
|
||||
extensions = ("bz2", "gzip", "ssl", "sqlite3", "zlib")
|
||||
extensions = ("gzip", "ssl", "sqlite3", "zlib")
|
||||
try:
|
||||
for _ in extensions:
|
||||
__import__(_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue