|
5 | 5 | See the file 'doc/COPYING' for copying permission |
6 | 6 | """ |
7 | 7 |
|
8 | | -import json |
9 | | -import logging |
10 | 8 | import os |
11 | 9 | import shutil |
12 | | -import sys |
13 | 10 | import tempfile |
14 | | -import types |
15 | 11 |
|
16 | 12 | from subprocess import PIPE |
17 | 13 |
|
18 | | -from lib.controller.controller import start |
19 | 14 | from lib.core.common import unArrayizeValue |
20 | 15 | from lib.core.convert import base64pickle |
21 | 16 | from lib.core.convert import base64unpickle |
22 | 17 | from lib.core.convert import hexencode |
23 | 18 | from lib.core.convert import jsonize |
24 | | -from lib.core.convert import stdoutencode |
25 | 19 | from lib.core.data import paths |
26 | | -from lib.core.data import kb |
27 | 20 | from lib.core.data import logger |
28 | 21 | from lib.core.datatype import AttribDict |
29 | 22 | from lib.core.defaults import _defaults |
30 | | -from lib.core.exception import SqlmapMissingDependence |
31 | 23 | from lib.core.optiondict import optDict |
32 | | -from lib.core.option import init |
33 | | -from lib.core.settings import UNICODE_ENCODING |
34 | 24 | from lib.core.subprocessng import Popen as execute |
35 | 25 | from lib.core.subprocessng import send_all |
36 | 26 | from lib.core.subprocessng import recv_some |
|
43 | 33 | from thirdparty.bottle.bottle import response |
44 | 34 | from thirdparty.bottle.bottle import run |
45 | 35 | from thirdparty.bottle.bottle import static_file |
46 | | -from thirdparty.bottle.bottle import template |
47 | 36 |
|
48 | 37 | RESTAPI_SERVER_HOST = "127.0.0.1" |
49 | 38 | RESTAPI_SERVER_PORT = 8775 |
|
0 commit comments