Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (a1078d8b)
- 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:
```Traceback (most recent call last):
File "zeus.py", line 288, in
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:19,691;zeus-log;INFO;log file being saved to '/home/inbell1s/zeus-scanner/log/zeus-log-8.log'
2020-10-06 13:34:19,691;zeus-log;INFO;using default search engine
2020-10-06 13:34:19,693;zeus-log;INFO;using random dork ': vBulletin Version 1.1.5″ site:nl' as the search query
2020-10-06 13:34:19,693;zeus-log;ERROR;[7;31;31mran 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
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:21,022;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-10-06 13:34:21,023;zeus-log;INFO;[32mgetting authorization[0m
2020-10-06 13:34:21,023;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-10-06 13:34:21,024;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start at var/search/selenium_search.py around parse_search_results and lib/core/settings.py around parse_blacklist, then reproduce the command `zeus.py -r -W -E` in the reported environment. Check how BLACKLIST_FILE_PATH and the log/blacklist directory are created and opened; done means the reported permission failure is handled or prevented without an unhandled exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100