Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (24af9e71)
- Dominant language
- Python
- Stars
- 999
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
Zeus version:
`1.5.2.21b875`
Firefox version:
`(56, 0)`
Geckodriver version:
`geckodriver-v0.18.0-linux64.tar.gz`
Error info:
```Traceback (most recent call last):
File "/home/tallby/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/tallby/zeus-scanner/var/search/selenium_search.py", line 80, in get_urls
ff_display = Display(visible=0, size=(800, 600))
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/display.py", line 34, in __init__
self._obj = self.display_class(
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/display.py", line 52, in display_class
cls.check_installed()
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/xvfb.py", line 38, in check_installed
ubuntu_package=PACKAGE).check_installed()
TypeError: __init__() got an unexpected keyword argument 'url'
```
Running details:
`Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-20.04-focal`
Commands used:
`./zeus.py --dork index.php?id= -B -E --hide`
Log file info:
```2020-10-04 05:55:43,923;zeus-log;INFO;log file being saved to '/home/tallby/zeus-scanner/log/zeus-log-10.log'
2020-10-04 05:55:43,926;zeus-log;INFO;specified to use non-default search engine
2020-10-04 05:55:43,929;zeus-log;INFO;starting dork scan with query 'index.php?id='
2020-10-04 05:55:43,939;zeus-log;INFO;attempting to gather query URL
2020-10-04 05:55:43,946;zeus-log;INFO;setting up virtual display to hide the browser
2020-10-04 05:55:43,948;zeus-log;ERROR;[7;31;31mselenium_search.pyc failed to gather the URL from search engine, caught exception '__init__() got an unexpected keyword argument 'url'' exception has been logged to current log file
Traceback (most recent call last):
File "/home/tallby/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/tallby/zeus-scanner/var/search/selenium_search.py", line 80, in get_urls
ff_display = Display(visible=0, size=(800, 600))
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/display.py", line 34, in __init__
self._obj = self.display_class(
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/display.py", line 52, in display_class
cls.check_installed()
File "/usr/local/lib/python2.7/dist-packages/pyvirtualdisplay/xvfb.py", line 38, in check_installed
ubuntu_package=PACKAGE).check_installed()
TypeError: __init__() got an unexpected keyword argument 'url'
2020-10-04 05:55:48,897;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-10-04 05:55:49,122;zeus-log;INFO;[32mgetting authorization[0m
2020-10-04 05:55:49,188;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-10-04 05:55:49,237;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start with var/search/selenium_search.py around lines 80 and 268, then reproduce the failure with ./zeus.py --dork index.php?id= -B -E --hide. Check the pyvirtualdisplay Display initialization and its reported TypeError; done means the command no longer raises this exception while gathering the search URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100