Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (9580c84e)
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
1.5.2.f6a3ad
Firefox version:
(57, 0)
Geckodriver version:
geckodriver-v0.19.0-linux64.tar.gz
Error info:
File "zeus.py", line 341, in <module>
len(open(opt.fileToEnumerate).readlines())
IOError: [Errno 21] Is a directory: '/root/zeus-scanner/log/url-log/'
Running details:
Linux-4.15.0-46-generic-x86_64-with-Ubuntu-18.04-bionic
Commands used:
zeus.py -f /root/zeus-scanner/log/url-log/
Log file info:
2019-03-08 04:41:41,766;zeus-log;INFO;running enumeration on given file '/root/zeus-scanner/log/url-log/'
2019-03-08 04:41:41,767;zeus-log;ERROR;[7;31;31mZeus has hit an unexpected error and cannot continue, error code '[Errno 21] Is a directory: '/root/zeus-scanner/log/url-log/''
Traceback (most recent call last):
File "zeus.py", line 341, in <module>
len(open(opt.fileToEnumerate).readlines())
IOError: [Errno 21] Is a directory: '/root/zeus-scanner/log/url-log/'
2019-03-08 04:41:46,021;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2019-03-08 04:41:46,021;zeus-log;INFO;[32mgetting authorization[0m
2019-03-08 04:41:46,022;zeus-log;INFO;[32mextracting traceback from log file[0m
2019-03-08 04:41:46,022;zeus-log;INFO;[32mattempting to get firefox browser version[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at zeus.py line 341 and reproduce the command using a directory path such as /root/zeus-scanner/log/url-log/. Check how the -f input is handled and define completion as avoiding the unhandled IOError while reporting the invalid input clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100