Skip to content

Commit 1241a02

Browse files
committed
Patch for sqlmapapi (NotImplementedError)
1 parent d5fb3a0 commit 1241a02

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.48"
21+
VERSION = "1.3.5.49"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

sqlmapapi.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
from sqlmap import modulePath
2222
from lib.core.common import setPaths
2323
from lib.core.data import logger
24+
from lib.core.patch import dirtyPatches
25+
from lib.core.patch import resolveCrossReferences
2426
from lib.core.settings import RESTAPI_DEFAULT_ADAPTER
2527
from lib.core.settings import RESTAPI_DEFAULT_ADDRESS
2628
from lib.core.settings import RESTAPI_DEFAULT_PORT
@@ -32,6 +34,9 @@ def main():
3234
REST-JSON API main function
3335
"""
3436

37+
dirtyPatches()
38+
resolveCrossReferences()
39+
3540
# Set default logging level to debug
3641
logger.setLevel(logging.DEBUG)
3742

0 commit comments

Comments
 (0)