-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Here are the error messages I got after scanning ftp.apple.asimov.net:
Removed ‘.listing’.
Wrote HTML-ized index to ‘ftp.apple.asimov.net.html’.
550 NONEXISTINGFILEdgdjahxnedadbacxjbc: No such file or directory
550 NONEXISTINGFILEdgdjahxnedadbacxjbc: No such file or directory
31707010106
This is a result of the lines at:
Lines 134 to 144 in 53c82cc
| try: | |
| urllib.urlopen('ftp://' + re.search(r'^([^\/]+)', ftp).group(1) + '/NONEXISTINGFILEdgdjahxnedadbacxjbc/') | |
| except Exception as error: | |
| dir_not_found = str(error).replace('[Errno ftp error] ', '') | |
| print(dir_not_found) | |
| try: | |
| urllib.urlopen('ftp://' + re.search(r'^([^\/]+)', ftp).group(1) + '/NONEXISTINGFILEdgdjahxnedadbacxjbc') | |
| except Exception as error: | |
| file_not_found = str(error).replace('[Errno ftp error] ', '') | |
| print(file_not_found) |
What's the rationale behing trying to fetch non-existing directories and non-existing files on purpose ?
As a user, my first reaction was to think something went wrong.
Metadata
Metadata
Assignees
Labels
No labels