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

Skip to content

Commit 252eb97

Browse files
committed
Patch related to the #1755
1 parent 67ae620 commit 252eb97

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from lib.core.revision import getRevisionNumber
2121

2222
# sqlmap version and site
23-
VERSION = "1.0.0.19"
23+
VERSION = "1.0.0.20"
2424
REVISION = getRevisionNumber()
2525
STABLE = VERSION.count('.') <= 2
2626
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

sqlmap.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
See the file 'doc/COPYING' for copying permission
66
"""
77

8+
import sys
9+
10+
sys.dont_write_bytecode = True
11+
12+
from lib.utils import versioncheck # this has to be the first non-standard import
13+
814
import bdb
915
import inspect
1016
import logging
@@ -17,13 +23,9 @@
1723
import traceback
1824
import warnings
1925

20-
sys.dont_write_bytecode = True
21-
2226
warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning)
2327
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
2428

25-
from lib.utils import versioncheck # this has to be the first non-standard import
26-
2729
from lib.controller.controller import start
2830
from lib.core.common import banner
2931
from lib.core.common import createGithubIssue

0 commit comments

Comments
 (0)