Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (a1078d8b)

Open
#983 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.21b875

Firefox version:
(57, 0)

Geckodriver version:
geckodriver-v0.19.0-linux64.tar.gz

Error info:

  File "zeus.py", line 288, in <module>
    tor=opt.useTor, batch=opt.runInBatch
  File "/home/inbell1s/zeus-scanner/var/search/selenium_search.py", line 210, in parse_search_results
    parse_blacklist(query, BLACKLIST_FILE_PATH, batch=batch)
  File "/home/inbell1s/zeus-scanner/lib/core/settings.py", line 1053, in parse_blacklist
    with open(full_path, "a+") as log:
IOError: [Errno 13] Permission denied: '/home/inbell1s/zeus-scanner/log/blacklist/.blacklist'

Running details:
Linux-5.8.0-kali2-amd64-x86_64-with-debian-kali-rolling

Commands used:
zeus.py -r -W -E

Log file info:

2020-10-06 13:34:08,333;zeus-log;INFO;using default search engine
2020-10-06 13:34:08,336;zeus-log;INFO;using random dork 'intitle:VMware inurl:5480 site:nl' as the search query
2020-10-06 13:34:08,336;zeus-log;ERROR;ran into exception '[Errno 13] Permission denied: '/home/inbell1s/zeus-scanner/log/blacklist/.blacklist'' and cannot continue, saved to current log file
Traceback (most recent call last):
  File "zeus.py", line 288, in <module>
    tor=opt.useTor, batch=opt.runInBatch
  File "/home/inbell1s/zeus-scanner/var/search/selenium_search.py", line 210, in parse_search_results
    parse_blacklist(query, BLACKLIST_FILE_PATH, batch=batch)
  File "/home/inbell1s/zeus-scanner/lib/core/settings.py", line 1053, in parse_blacklist
    with open(full_path, "a+") as log:
IOError: [Errno 13] Permission denied: '/home/inbell1s/zeus-scanner/log/blacklist/.blacklist'

2020-10-06 13:34:12,693;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2020-10-06 13:34:12,693;zeus-log;INFO;getting authorization
2020-10-06 13:34:12,697;zeus-log;INFO;extracting traceback from log file
2020-10-06 13:34:12,697;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 with var/search/selenium_search.py around parse_search_results and lib/core/settings.py around parse_blacklist, then reproduce with zeus.py -r -W -E. Investigate the reported permission failure for log/blacklist/.blacklist and verify that the command no longer stops with this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
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.