You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sqlmapapi.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ def modulePath():
81
81
82
82
defmain():
83
83
"""
84
-
REST-JSON API main function
84
+
REST API main function
85
85
"""
86
86
87
87
dirtyPatches()
@@ -95,18 +95,18 @@ def main():
95
95
96
96
# Parse command line options
97
97
apiparser=ArgumentParser()
98
-
apiparser.add_argument("-s", "--server", help="Run as a REST-JSON API server", action="store_true")
99
-
apiparser.add_argument("-c", "--client", help="Run as a REST-JSON API client", action="store_true")
100
-
apiparser.add_argument("-H", "--host", help="Host of the REST-JSON API server (default \"%s\")"%RESTAPI_DEFAULT_ADDRESS, default=RESTAPI_DEFAULT_ADDRESS)
101
-
apiparser.add_argument("-p", "--port", help="Port of the REST-JSON API server (default %d)"%RESTAPI_DEFAULT_PORT, default=RESTAPI_DEFAULT_PORT, type=int)
98
+
apiparser.add_argument("-s", "--server", help="Run as a REST API server", action="store_true")
99
+
apiparser.add_argument("-c", "--client", help="Run as a REST API client", action="store_true")
100
+
apiparser.add_argument("-H", "--host", help="Host of the REST API server (default \"%s\")"%RESTAPI_DEFAULT_ADDRESS, default=RESTAPI_DEFAULT_ADDRESS)
101
+
apiparser.add_argument("-p", "--port", help="Port of the REST API server (default %d)"%RESTAPI_DEFAULT_PORT, default=RESTAPI_DEFAULT_PORT, type=int)
102
102
apiparser.add_argument("--adapter", help="Server (bottle) adapter to use (default \"%s\")"%RESTAPI_DEFAULT_ADAPTER, default=RESTAPI_DEFAULT_ADAPTER)
0 commit comments