Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b70728 commit c5d3198Copy full SHA for c5d3198
1 file changed
sqlmapapi.py
@@ -19,10 +19,11 @@
19
from lib.utils.api import client
20
from lib.utils.api import server
21
22
-if __name__ == "__main__":
+def main():
23
"""
24
REST-JSON API main function
25
26
+
27
# Set default logging level to debug
28
logger.setLevel(logging.DEBUG)
29
@@ -45,3 +46,6 @@
45
46
client(args.host, args.port)
47
else:
48
apiparser.print_help()
49
50
+if __name__ == "__main__":
51
+ main()
0 commit comments