print("Requests without ending /") # Discriminator option discriminator = args.discriminator if discriminator: print("Discriminator active") if request_type == "HEAD": print("[!] head requests renders discriminator by content useless") # Autodiscriminator (probably deprecated by future diagnostic subsystem) autodiscriminator = args.autodiscriminator autodiscriminator_location = None autodiscriminator_md5 = None if autodiscriminator: print("Launching autodiscriminator") i = Inspector(target) (result, notfound_type) = i.check_this() if notfound_type == Inspector.TEST404_URL: autodiscriminator_location = result print("404 ---> 302 ----> " + autodiscriminator_location) elif notfound_type == Inspector.TEST404_MD5: autodiscriminator_md5 = result print("404 ---> PAGE_MD5 ----> " + autodiscriminator_md5) # Misc user information print("{:30} {:>}".format("Banned response codes:", ",".join(banned_response_codes))) if not unbanned_response_codes[0] == '': print("{:30} {:>}".format("unBanned response codes:", ",".join(unbanned_response_codes))) if not extension == ['']:
print("Requests without ending /") # Discriminator option discriminator = args.discriminator if discriminator: print("Discriminator active") if request_type == "HEAD": print("[!] head requests renders discriminator by content useless") # Autodiscriminator (probably deprecated by future diagnostic subsystem) autodiscriminator = args.autodiscriminator autodiscriminator_location = None autodiscriminator_md5 = None if autodiscriminator: print("Launching autodiscriminator") i = Inspector(target) (result, notfound_type) = i.check_this() if notfound_type == Inspector.TEST404_URL: autodiscriminator_location = result print("404 ---> 302 ----> " + autodiscriminator_location) elif notfound_type == Inspector.TEST404_MD5: autodiscriminator_md5 = result print("404 ---> PAGE_MD5 ----> " + autodiscriminator_md5) # Misc user information print("{:30} {:>}".format("Banned response codes:", ",".join(banned_response_codes))) if not unbanned_response_codes[0] == '': print("{:30} {:>}".format("unBanned response codes:", ",".join(unbanned_response_codes))) if not extension == ['']: print("{:30} {:>}".format("Extensions to probe:", ",".join(extension)))