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

Skip to content

Commit 2e97405

Browse files
committed
bundle bottle library in sqlmap (it is MIT license) - issue #297
1 parent 0ec420c commit 2e97405

4 files changed

Lines changed: 3272 additions & 14 deletions

File tree

_sqlmap.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,9 @@
4545
from lib.core.testing import smokeTest
4646
from lib.core.testing import liveTest
4747
from lib.parse.cmdline import cmdLineParser
48+
from lib.utils.restapi import restAPIrun
4849
from lib.utils.xmlrpc import XMLRPCServer
4950

50-
try:
51-
from lib.utils.restapi import restAPIrun
52-
except SqlmapMissingDependence, e:
53-
e = getUnicode(e)
54-
logger.critical(e)
55-
sys.exit(1)
56-
5751
def modulePath():
5852
"""
5953
This will get us the program's directory, even if we are frozen

extra/bottle/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
Copyright (c) 2006-2012 sqlmap developers (http://sqlmap.org/)
5+
See the file 'doc/COPYING' for copying permission
6+
"""
7+
8+
pass

0 commit comments

Comments
 (0)