Patch for sqlmapapi (NotImplementedError)

This commit is contained in:
Miroslav Stampar
2019-05-08 02:40:36 +02:00
parent d5fb3a0d8b
commit 1241a025a2
2 changed files with 6 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ warnings.filterwarnings(action="ignore", category=DeprecationWarning)
from sqlmap import modulePath
from lib.core.common import setPaths
from lib.core.data import logger
from lib.core.patch import dirtyPatches
from lib.core.patch import resolveCrossReferences
from lib.core.settings import RESTAPI_DEFAULT_ADAPTER
from lib.core.settings import RESTAPI_DEFAULT_ADDRESS
from lib.core.settings import RESTAPI_DEFAULT_PORT
@@ -32,6 +34,9 @@ def main():
REST-JSON API main function
"""
dirtyPatches()
resolveCrossReferences()
# Set default logging level to debug
logger.setLevel(logging.DEBUG)