minor edit to search.py removed sqlmap_api_directions.txt

This commit is contained in:
ekultek 2017-10-09 10:56:25 -05:00
parent f9577d0365
commit a10d8d5825
3 changed files with 3 additions and 27 deletions

View file

@ -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.31.5b3a"
VERSION = "1.0.32"
# colors to output depending on the version
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
# version string formatting

View file

@ -1,25 +0,0 @@
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

View file

@ -72,7 +72,8 @@ def extract_webcache_url(webcache_url, splitter=("%2Bext", ":")):
webcache_regex = re.compile(r"(?<=q=).*?(?=[&\"])")
data = "".join(webcache_regex.findall(webcache_url))
to_extract = data.split(splitter[0])[0]
return "http:" + to_extract.split(splitter[1])[3]
found = "http:" + to_extract.split(splitter[1])[3]
return unquote(found)
def get_urls(query, url, verbose=False, warning=True, user_agent=None, proxy=None, **kwargs):