Ekultek / Ekultek/Zeus-Scanner

Unhandled exception (b36c22c9)

Open
#862 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
999
Forks
245
PR merge metrics
No merged PRs in 30d

Description

Zeus version:
`1.5.2.21b875`

Firefox version:
`(72, 0)`

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

Error info:
```Traceback (most recent call last):
File "zeus.py", line 288, in
tor=opt.useTor, batch=opt.runInBatch
File "/home/asds/Zeus-Scanner/var/search/selenium_search.py", line 210, in parse_search_results
parse_blacklist(query, BLACKLIST_FILE_PATH, batch=batch)
File "/home/asds/Zeus-Scanner/lib/core/settings.py", line 1053, in parse_blacklist
with open(full_path, "a+") as log:
IOError: [Errno 13] Permission denied: '/home/asds/Zeus-Scanner/log/blacklist/.blacklist'
```

Running details:
`Linux-5.4.12-1-MANJARO-x86_64-with-glibc2.2.5`

Commands used:
`zeus.py -r`

Log file info:
```2020-01-17 13:02:29,396;zeus-log;INFO;log file being saved to '/home/asds/Zeus-Scanner/log/zeus-log-15.log'
2020-01-17 13:02:29,397;zeus-log;INFO;using default search engine
2020-01-17 13:02:29,398;zeus-log;INFO;using random dork 'inurl:start.php?home=' as the search query
2020-01-17 13:02:29,398;zeus-log;ERROR;ran into exception '[Errno 13] Permission denied: '/home/asds/Zeus-Scanner/log/blacklist/.blacklist'' and cannot continue, saved to current log file
Traceback (most recent call last):
File "zeus.py", line 288, in
tor=opt.useTor, batch=opt.runInBatch
File "/home/asds/Zeus-Scanner/var/search/selenium_search.py", line 210, in parse_search_results
parse_blacklist(query, BLACKLIST_FILE_PATH, batch=batch)
File "/home/asds/Zeus-Scanner/lib/core/settings.py", line 1053, in parse_blacklist
with open(full_path, "a+") as log:
IOError: [Errno 13] Permission denied: '/home/asds/Zeus-Scanner/log/blacklist/.blacklist'

2020-01-17 13:02:34,888;zeus-log;INFO;Zeus got an unexpected error and will automatically create an issue for this error, please wait
2020-01-17 13:02:34,889;zeus-log;INFO;getting authorization
2020-01-17 13:02:34,894;zeus-log;INFO;extracting traceback from log file
2020-01-17 13:02:34,894;zeus-log;INFO;attempting to get firefox browser version
```

Contributor guide

Open the contributing guide

Research direction

Start with var/search/selenium_search.py at parse_search_results and lib/core/settings.py at parse_blacklist, then reproduce the reported `zeus.py -r` run using the supplied environment details. The payload identifies a permission-denied failure opening log/blacklist/.blacklist, but does not specify the intended behavior or acceptance criteria, so confirm those before making a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.