Ekultek / Ekultek/Zeus-Scanner
Unhandled exception (78d5a468)
Open
Nobody has claimed this yet.
- 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.gzgeckodriver-v0.19.0-linux64.tar.gz
Error info:
File "/home/tibb/Zeus-Scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/tibb/Zeus-Scanner/var/search/selenium_search.py", line 80, in get_urls
ff_display = Display(visible=0, size=(800, 600))
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-packages/pyvirtualdisplay/display.py", line 34, in __init__
self._obj = self.display_class(
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-packages/pyvirtualdisplay/display.py", line 52, in display_class
cls.check_installed()
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-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.7.17.a-1-hardened-x86_64-with-glibc2.2.5
Commands used:
zeus.py -r
Log file info:
2020-08-28 18:13:27,452;zeus-log;INFO;using default search engine
2020-08-28 18:13:27,453;zeus-log;INFO;using random dork 'inurl:file.php?y=' as the search query
2020-08-28 18:13:27,453;zeus-log;WARNING;will not parse webcache URL's (to parse webcache pass -W)
2020-08-28 18:13:27,453;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2020-08-28 18:13:27,453;zeus-log;INFO;attempting to gather query URL
2020-08-28 18:13:27,454;zeus-log;INFO;setting up virtual display to hide the browser
2020-08-28 18:13:27,454;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/tibb/Zeus-Scanner/var/search/selenium_search.py", line 268, in parse_search_results
tor=tor, batch=batch, xforward=forward_for
File "/home/tibb/Zeus-Scanner/var/search/selenium_search.py", line 80, in get_urls
ff_display = Display(visible=0, size=(800, 600))
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-packages/pyvirtualdisplay/display.py", line 34, in __init__
self._obj = self.display_class(
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-packages/pyvirtualdisplay/display.py", line 52, in display_class
cls.check_installed()
File "/root/.local/share/virtualenvs/Zeus-Scanner-jKLNdBxU/lib/python2.7/site-packages/pyvirtualdisplay/xvfb.py", line 38, in check_installed
ubuntu_package=PACKAGE).check_installed()
TypeError: __init__() got an unexpected keyword argument 'url'
2020-08-28 18:13:29,143;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2020-08-28 18:13:29,143;zeus-log;INFO;[32mgetting authorization[0m
2020-08-28 18:13:29,144;zeus-log;INFO;[32mextracting traceback from log file[0m
2020-08-28 18:13:29,145;zeus-log;INFO;[32mattempting to get firefox browser version[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with zeus.py -r and inspect var/search/selenium_search.py around get_urls line 80, where pyvirtualdisplay.Display is created. Trace the reported TypeError through the installed dependency and verify that the search flow completes without the unhandled exception.
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
- Needs clarification
- Newbie friendliness
- 25/100