diff --git a/lib/settings.py b/lib/settings.py index 45acafd..f3a146d 100644 --- a/lib/settings.py +++ b/lib/settings.py @@ -22,7 +22,7 @@ except NameError: # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.23" +VERSION = "1.0.24" # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting diff --git a/sqlmap_api_directions.txt b/sqlmap_api_directions.txt new file mode 100644 index 0000000..7a260ca --- /dev/null +++ b/sqlmap_api_directions.txt @@ -0,0 +1,25 @@ +Hi guys, firstly I would like to thank you for using Zeus, it's pretty cool right?! + +Now that we got out of the way, I recently came across a video of someone trying to +show people how to use Zeus and receiving an error while trying to use sqlmap's API +server : https://www.youtube.com/watch?v=nADNliYrnuI + +If you watch that video you will see that they never started the sqlmap API, nor passed +any of the correct flags to even attempt to auto start it. They simply thought that +Zeus would automatically find sqlmapapi.py and just start it for them. Well, yes that +is possible, but it has not been implemented yet. In order to use sqlmap with Zeus you +will need to do one of two things: + +A) (easiest way) CD into sqlmap and run `python sqlmapapi.py -s` +B) Pass the correct flags in order for Zeus to attempt to find sqlmap on your system + and attempt to auto start the API server. + +Also please keep in mind that for now, you will need to restart the API server every +iteration. I've been trying to figure out a way to extract the hash ID values into a +unique list, but it's a lot harder then you think it is. So remember to start the API +and then press enter at the prompt. If you read the output (which you probably don't) +then you will see that it tells you to start the API before continuing. I have caught +the error and it will output that the API is not started if it hits that error. Once +again, thank you for using Zeus, hope you enjoy it as much as I enjoy creating it. + +- Eku \ No newline at end of file diff --git a/var/auto_issue/github.py b/var/auto_issue/github.py index 8b3748c..c09e48e 100644 --- a/var/auto_issue/github.py +++ b/var/auto_issue/github.py @@ -1,5 +1,6 @@ import os import sys + try: import urllib2 except ImportError: @@ -32,7 +33,6 @@ def decode(n, token): def request_issue_creation(): - logger.info(set_color( "Zeus got an unexpected error and will automatically create an issue for this error, please wait..." )) @@ -70,9 +70,15 @@ def request_issue_creation(): issue_data = { "title": issue_title, - "body": "Error info:\n```{}````\n\nRunning details:\n`{}`\n\nCommands used:\n`{}`".format( - str(stacktrace), str(platform.platform()), " ".join(sys.argv) - ), + "body": "Error info:\n```{}````\n\n" + "Running details:\n`{}`\n\n" + "Commands used:\n`{}`\n\n" + "Log file info:\n```{}```".format( + str(stacktrace), + str(platform.platform()), + " ".join(sys.argv), + open(current_log_file).read() + ), } try: