tilde_enum icon indicating copy to clipboard operation
tilde_enum copied to clipboard

AttributeError: 'URLError' object has no attribute 'code'

Open darkmatter1505 opened this issue 8 years ago • 2 comments

Running the following command I get the error below. I have tried multiple wordlists and get the same results.

./tilde_enum.py -u https://iis -w /usr/share/dirb/wordlists/vulns/iis.txt [-] Testing with dummy file request https://iis/cl3qBgsLMr.htm [-] URLNotThere -> HTTP Code: 404, Response Length: 5199 [-] Testing with user-submitted https://iis [-] URLUser -> HTTP Code: 200, Response Length: 0 [+] The server is reporting that it is IIS (Microsoft-IIS/7.5). [+] The server is vulnerable to the tilde enumeration vulnerability (IIS/5|6.x).. [+] Found file: ac_run . js [+] Found a directory: afrore [+] Found a directory: alanfl Traceback (most recent call last): File "./tilde_enum.py", line 672, in if name == "main": main() File "./tilde_enum.py", line 515, in main findings = checkEightDotThreeEnum(url.scheme + '://' + url.netloc, check_string, url.path) File "./tilde_enum.py", line 317, in checkEightDotThreeEnum fileOrDir(files, url, stub) File "./tilde_enum.py", line 252, in fileOrDir checkForDirectory(url+stub) File "./tilde_enum.py", line 241, in checkForDirectory if resp.code == 404: AttributeError: 'URLError' object has no attribute 'code'

darkmatter1505 avatar Feb 23 '18 03:02 darkmatter1505

Thanks for reporting the error. It looks identical to issue #36 . I must admit that I'm no longer maintaining this code.

Are you using the latest version as the fix for #36 fixed others' issues. There may be another issues with HTTPS though.

WebBreacher avatar Feb 25 '18 01:02 WebBreacher

Yes, I'm using the latest clone from github.

Dark Matter


From: WebBreacher [email protected] Sent: Saturday, February 24, 2018 7:33:55 PM To: WebBreacher/tilde_enum Cc: DarkMatter1505; Author Subject: Re: [WebBreacher/tilde_enum] AttributeError: 'URLError' object has no attribute 'code' (#39)

Thanks for reporting the error. It looks identical to issue #36https://github.com/WebBreacher/tilde_enum/issues/36 . I must admit that I'm no longer maintaining this code.

Are you using the latest version as the fix for #36https://github.com/WebBreacher/tilde_enum/issues/36 fixed others' issues. There may be another issues with HTTPS though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/WebBreacher/tilde_enum/issues/39#issuecomment-368275341, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL5dl5cW0SYZl1PtMPsR_TB-vJjZHTvAks5tYLiDgaJpZM4SQVj_.

darkmatter1505 avatar Feb 25 '18 02:02 darkmatter1505