Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (f379531c)
- 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/unroot/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/unroot/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.6.0-kali2-amd64-x86_64-with-debian-kali-rolling`
Commands used:
`zeus.py -r`
Log file info:
```2020-06-25 00:02:31,921;zeus-log;INFO;log file being saved to '/home/unroot/zeus-scanner/log/zeus-log-22.log'
2020-06-25 00:02:31,922;zeus-log;INFO;using default search engine
2020-06-25 00:02:31,925;zeus-log;INFO;using random dork 'intext:"Select a database to view" intitle:"filemaker pro"' as the search query
2020-06-25 00:02:31,926;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2020-06-25 00:02:31,926;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2020-06-25 00:02:31,926;zeus-log;INFO;attempting to gather query URL
2020-06-25 00:02:31,927;zeus-log;INFO;setting up virtual display to hide the browser
2020-06-25 00:02:31,928;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/unroot/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/unroot/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-06-25 00:03:45,295;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-06-25 00:03:45,296;zeus-log;INFO;[32mgetting authorization[0m
2020-06-25 00:03:45,331;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-06-25 00:03:45,332;zeus-log;INFO;[32mattempting to get firefox browser version[0m
```
Contributor guide
Research direction
Start at var/search/selenium_search.py line 80, where get_urls creates the pyvirtualdisplay Display, and inspect the traceback from pyvirtualdisplay's Xvfb setup. Run zeus.py -r in a comparable environment to reproduce the unexpected keyword argument 'url' error; done means search URL gathering proceeds without this exception.
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
- Mostly clear
- Newbie friendliness
- 28/100