Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (9580c84e)

Open
#722 0 comments 0 reactions 0 assignees View on GitHub

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;Zeus 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;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2019-03-08 04:41:46,021;zeus-log;INFO;getting authorization
2019-03-08 04:41:46,022;zeus-log;INFO;extracting traceback from log file
2019-03-08 04:41:46,022;zeus-log;INFO;attempting to get firefox browser version

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.