mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
added a file for those that don't know how to use sqlmap, also minor fix to extract your log file.
This commit is contained in:
parent
ceca62c4b4
commit
f87f63d3b0
3 changed files with 36 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ except NameError:
|
|||
# clone link
|
||||
CLONE = "https://github.com/ekultek/zeus-scanner.git"
|
||||
# current version <major.minor.commit.patch ID>
|
||||
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
|
||||
|
|
|
|||
25
sqlmap_api_directions.txt
Normal file
25
sqlmap_api_directions.txt
Normal file
|
|
@ -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
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue