Commit 83cfdb81 authored by fimap.dev@gmail.com's avatar fimap.dev@gmail.com

Small Fixes.

parent 4f701549
......@@ -68,8 +68,12 @@ class codeinjector(baseClass):
vulnheaderkey = vuln.getAttribute("header_vuln_key")
header_dict_b64 = vuln.getAttribute("header_dict")
header_dict_pickle = b64decode(header_dict_b64)
header_dict = pickle.loads(header_dict_pickle)
header_dict = {}
if (header_dict_b64 != ""):
header_dict_pickle = b64decode(header_dict_b64)
header_dict = pickle.loads(header_dict_pickle)
if (not isUnix and shcode[1]==":"):
shcode = shcode[3:]
......
......@@ -90,9 +90,9 @@ def show_help(AndQuit=False):
print " in harvest mode (-H). Default is 1."
print " -P , --post=POSTDATA The POSTDATA you want to send. All variables inside"
print " will also be scanned for file inclusion bugs."
print " --cookie=COOKIE Define the cookie which should be send with each request."
print " --cookie=COOKIES Define the cookie which should be send with each request."
print " Also the cookies will be scanned for file inclusion bugs."
print " Multiple cookies should be concat with ';'."
print " Concatenate multiple cookies with the ';' character."
print " --ttl=SECONDS Define the TTL (in seconds) for requests. Default is 30 seconds."
print " --no-auto-detect Use this switch if you don't want to let fimap automaticly detect"
print " the target language in blind-mode. In that case you will get some"
......@@ -171,8 +171,8 @@ def show_greetings():
print " - MarcosKhan"
print " - Rita"
print " - Ruun"
print " - Sticks"
print " - Satyros"
print " - Sticks"
print " - Yasmin"
print " Special Greetings to the whole Netherlands"
sys.exit(0)
......
......@@ -316,7 +316,8 @@ class targetScanner (baseClass.baseClass):
ret.append((rep, self.readFiles(rep)))
head_done[key] = True
if (doBreak): return(ret) # <-- Return if we found one blindly readable file.
if (doBreak):
return(ret) # <-- Return if we found one blindly readable file.
return(ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment