mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
leftovers
This commit is contained in:
parent
a1b83cd56f
commit
0ec420cc70
|
@ -27,8 +27,6 @@ except ImportError:
|
||||||
errMsg += "http://bottlepy.org/ and install it"
|
errMsg += "http://bottlepy.org/ and install it"
|
||||||
raise SqlmapMissingDependence, errMsg
|
raise SqlmapMissingDependence, errMsg
|
||||||
|
|
||||||
# bottle in debug mode for now
|
|
||||||
debug(True)
|
|
||||||
|
|
||||||
# local global variables
|
# local global variables
|
||||||
session_ids = []
|
session_ids = []
|
||||||
|
@ -63,7 +61,7 @@ def error404(error):
|
||||||
def error405(error):
|
def error405(error):
|
||||||
return "Method not allowed"
|
return "Method not allowed"
|
||||||
|
|
||||||
@error(500) # Not Found
|
@error(500) # Internal Server Error
|
||||||
def error500(error):
|
def error500(error):
|
||||||
return "Internal server error"
|
return "Internal server error"
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@ class XMLRPCServer:
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
print "CALLING RUN"
|
|
||||||
if not self.is_busy():
|
if not self.is_busy():
|
||||||
init(self.options, True)
|
init(self.options, True)
|
||||||
thread = threading.Thread(target=start)
|
thread = threading.Thread(target=start)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user