Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (62e58ab8)
- 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 "/home/smoke/Zeus-Scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/smoke/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-5.10.0-kali9-amd64-x86_64-with-debian-kali-rolling`
Commands used:
`zeus.py -d inurl:php?cat=1`
Log file info:
```2021-10-23 17:31:18,775;zeus-log;INFO;log file being saved to '/home/smoke/Zeus-Scanner/log/zeus-log-29.log'
2021-10-23 17:31:18,776;zeus-log;INFO;using default search engine
2021-10-23 17:31:18,776;zeus-log;INFO;starting dork scan with query 'inurl:php?cat=1'
2021-10-23 17:31:18,776;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2021-10-23 17:31:18,776;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-10-23 17:31:18,776;zeus-log;INFO;attempting to gather query URL
2021-10-23 17:31:18,776;zeus-log;INFO;setting up virtual display to hide the browser
2021-10-23 17:31:18,777;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/smoke/Zeus-Scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/smoke/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'
2021-10-23 17:31:50,928;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2021-10-23 17:31:50,929;zeus-log;INFO;[32mgetting authorization[0m
2021-10-23 17:31:50,929;zeus-log;INFO;[32mextracting traceback from log file[0m
2021-10-23 17:31:50,930;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start in var/search/selenium_search.py, especially get_urls at line 80 and the pyvirtualdisplay Xvfb initialization shown in the traceback. Run `zeus.py -d inurl:php?cat=1` in the reported environment and inspect the installed pyvirtualdisplay dependency. Done means the virtual display starts without the unexpected `url` argument exception and the scan proceeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100