Zeus-Scanner icon indicating copy to clipboard operation
Zeus-Scanner copied to clipboard

Unhandled exception (b7e4830e)

Open ZeusIssueReporter opened this issue 3 years ago • 0 comments

Zeus version: 1.5.2.None

Firefox version: failed to start

Geckodriver version: geckodriver-v0.19.0-linux64.tar.gz

Error info:

  File "/home/mrgfy/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
    tor=tor, batch=batch, xforward=forward_for
  File "/home/mrgfy/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/site-packages/pyvirtualdisplay/display.py", line 34, in __init__
    self._obj = self.display_class(
  File "/usr/local/lib/python2.7/site-packages/pyvirtualdisplay/display.py", line 52, in display_class
    cls.check_installed()
  File "/usr/local/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'
Traceback (most recent call last):
  File "/home/mrgfy/Personal-Tools/zeus-scanner/var/search/selenium_search.py", line 268, in parse_search_results
    tor=tor, batch=batch, xforward=forward_for
  File "/home/mrgfy/Personal-Tools/zeus-scanner/var/search/selenium_search.py", line 82, in get_urls
    browser = var.search.SetBrowser(agent=user_agent, proxy=proxy, tor=tor, xforward=xforward).set_browser()
  File "/home/mrgfy/Personal-Tools/zeus-scanner/var/search/__init__.py", line 143, in set_browser
    browser = webdriver.Firefox(profile)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
    keep_alive=True)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
    response = self.execute(Command, parameters)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 367, in execute
    command_info = self._commands[command]
KeyError: <class 'selenium.webdriver.remote.command.Command'>
2021-05-01 09:46:56,044;zeus-log;ERROR;Zeus has experienced an internal error and cannot continue, shutting down
2021-05-01 09:48:00,220;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:48:00,220;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useTor': True, 'searchMultiplePages': True, 'autoStartSqlmap': True, 'useRandomAgent': True, 'useDDG': True, 'runInBatch': True, 'perfor
2021-05-01 09:48:00,220;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:48:00,220;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:48:00,221;zeus-log;INFO;random agent being used 'Mozilla/5.0 (Windows; U; Windows NT 6.0; nb-NO) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5'
2021-05-01 09:48:00,221;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:48:00,221;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:48:00,221;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:48:00,221;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:48:00,221;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:48:00,221;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:48:00,221;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:48:00,222;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:48:00,324;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:48:00,904;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:48:06,480;zeus-log;INFO;command completed successfully, should be safe to re-run Zeus
2021-05-01 09:48:13,373;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:48:13,373;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useTor': True, 'searchMultiplePages': True, 'autoStartSqlmap': True, 'useRandomAgent': True, 'useDDG': True, 'runInBatch': True, 'perfor
2021-05-01 09:48:13,373;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:48:13,373;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:48:13,374;zeus-log;INFO;random agent being used 'Mozilla/5.0 (Windows; U; Windows NT 5.1; th) AppleWebKit/522.12.1 (KHTML, like Gecko) Version/3.0.1 Safari/522.12.2'
2021-05-01 09:48:13,374;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:48:13,374;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:48:13,374;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:48:13,374;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:48:13,374;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:48:13,374;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:48:13,374;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:48:13,375;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:48:13,477;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:48:14,017;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:48:15,899;zeus-log;CRITICAL;[7;31;31myou will need to reinstall firefox to a later version, update selenium, and reinstall the geckodriver to continue using Zeus
2021-05-01 09:49:35,551;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:49:35,552;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useTor': True, 'searchMultiplePages': True, 'autoStartSqlmap': True, 'useRandomAgent': True, 'useDDG': True, 'runInBatch': True, 'perfor
2021-05-01 09:49:35,552;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:49:35,552;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:49:35,552;zeus-log;INFO;random agent being used 'Mozilla/5.0 (Windows NT 5.1; U; zh-cn; rv:1.8.1) Gecko/20091102 Firefox/3.5.5'
2021-05-01 09:49:35,552;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:49:35,552;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:49:35,552;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:35,553;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:35,553;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:35,553;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:49:35,553;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:49:35,553;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:49:35,656;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:49:36,197;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:49:38,868;zeus-log;INFO;command completed successfully, should be safe to re-run Zeus
2021-05-01 09:49:46,068;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:49:46,068;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useTor': True, 'searchMultiplePages': True, 'autoStartSqlmap': True, 'useRandomAgent': True, 'useDDG': True, 'runInBatch': True, 'perfor
2021-05-01 09:49:46,068;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:49:46,068;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:49:46,069;zeus-log;INFO;random agent being used 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; chromeframe/13.0.782.215)'
2021-05-01 09:49:46,069;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:49:46,069;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:49:46,069;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:46,069;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:46,069;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:46,069;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:49:46,069;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:49:46,069;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:49:46,172;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:49:46,702;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:49:47,930;zeus-log;CRITICAL;[7;31;31myou will need to reinstall firefox to a later version, update selenium, and reinstall the geckodriver to continue using Zeus
2021-05-01 09:49:57,807;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:49:57,808;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'searchMultiplePages': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useRandomAgent': True, 'autoStartSqlmap': True, 'runInBatch': True, 'performWhoisLookup': True, 'sqlmapArgu
2021-05-01 09:49:57,808;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:49:57,808;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:49:57,808;zeus-log;INFO;random agent being used 'Mozilla/5.0 (X11; U; CrOS i686 0.9.130; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.344 Safari/534.10'
2021-05-01 09:49:57,808;zeus-log;INFO;running enumeration on given file '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt'
2021-05-01 09:49:57,808;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:57,809;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:57,809;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:57,809;zeus-log;ERROR;[7;31;31mran into exception 'argument of type 'NoneType' is not iterable'
Traceback (most recent call last):
  File "zeus.py", line 263, in <module>
    tor=opt.useTor, batch=opt.runInBatch
  File "/home/mrgfy/Personal-Tools/zeus-scanner/var/search/selenium_search.py", line 217, in parse_search_results
    if not parse_webcache and "google" in url_to_search:
TypeError: argument of type 'NoneType' is not iterable

Running details: Linux-5.12.0-AMD-znver2-x86_64-with-glibc2.33

Commands used: zeus.py -l /home/mrgfy/ShodanAPI/lists/Shodan.Dorks.txt -f /home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt -s -a -w --sqlmap-args=--random-agent --level=3 --risk=2 --tamper=apostrophemask,between,equaltolike,greatest,ifnull2ifisnull,multiplespaces,percentage,randomcase,space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes,sp_password --headers='X-Forwarded-For: 127.0.0.1@@X-Originating-IP: 127.0.0.1@@X-Cluster-Client-Ip: 127.0.0.1' -o --no-cast --time-sec=8 --delay=10 --dump --msf-path=/opt/metasploit --os-bof --common-tables --common-columns --common-files --roles --privileges --passwords --users --is-dba --hostname --current-db --current-user --banner --auto -L 30 -M --identify-waf --identify-plugins --random-agent --batch --show-success --verbose

Log file info:

2021-05-01 09:49:35,552;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:49:35,552;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:49:35,552;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:35,553;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:35,553;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:35,553;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:49:35,553;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:49:35,553;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:49:35,656;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:49:36,197;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:49:38,868;zeus-log;INFO;command completed successfully, should be safe to re-run Zeus
2021-05-01 09:49:46,068;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:49:46,068;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useTor': True, 'searchMultiplePages': True, 'autoStartSqlmap': True, 'useRandomAgent': True, 'useDDG': True, 'runInBatch': True, 'performWhoisLookup': True, 'sqlmapArguments': "--random-agent --level=3 --risk=2 --tamper=apostrophemask,between,equaltolike,greatest,ifnull2ifisnull,multiplespaces,percentage,randomcase,space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes,sp_password --headers='X-Forwarded-For: 127.0.0.1@@X-Originating-IP: 127.0.0.1@@X-Cluster-Client-Ip: 127.0.0.1' -o --no-cast --time-sec=8 --delay=10 --dump --msf-path=/opt/metasploit --os-bof --common-tables --common-columns --common-files --roles --privileges --passwords --users --is-dba --hostname --current-db --current-user --banner", 'runInVerbose': True, 'amountToSearch': 30, 'dorkFileToUse': '/home/mrgfy/ShodanAPI/lists/Shodan.Dorks.txt'}'
2021-05-01 09:49:46,068;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:49:46,068;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:49:46,069;zeus-log;INFO;random agent being used 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; chromeframe/13.0.782.215)'
2021-05-01 09:49:46,069;zeus-log;DEBUG;using 'DuckDuckGo' as the search engine
2021-05-01 09:49:46,069;zeus-log;INFO;specified to use non-default search engine
2021-05-01 09:49:46,069;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:46,069;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:46,069;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:46,069;zeus-log;WARNING;only pulling URLs with GET(query) parameters (to pull all URL's pass -E)
2021-05-01 09:49:46,069;zeus-log;INFO;attempting to gather query URL
2021-05-01 09:49:46,069;zeus-log;INFO;setting up virtual display to hide the browser
2021-05-01 09:49:46,172;zeus-log;INFO;setting the Tor browser emulation
2021-05-01 09:49:46,702;zeus-log;CRITICAL;[7;31;31mit appears that firefox, selenium, and geckodriver are not playing nice with one another
2021-05-01 09:49:47,930;zeus-log;CRITICAL;[7;31;31myou will need to reinstall firefox to a later version, update selenium, and reinstall the geckodriver to continue using Zeus
2021-05-01 09:49:57,807;zeus-log;DEBUG;checking if the application has been run before
2021-05-01 09:49:57,808;zeus-log;DEBUG;running with options '{'adminPanelFinder': True, 'identifyPlugin': True, 'showSuccessRate': True, 'runSqliScan': True, 'identifyProtection': True, 'searchMultiplePages': True, 'fileToEnumerate': '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt', 'useRandomAgent': True, 'autoStartSqlmap': True, 'runInBatch': True, 'performWhoisLookup': True, 'sqlmapArguments': "--random-agent --level=3 --risk=2 --tamper=apostrophemask,between,equaltolike,greatest,ifnull2ifisnull,multiplespaces,percentage,randomcase,space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes,sp_password --headers='X-Forwarded-For: 127.0.0.1@@X-Originating-IP: 127.0.0.1@@X-Cluster-Client-Ip: 127.0.0.1' -o --no-cast --time-sec=8 --delay=10 --dump --msf-path=/opt/metasploit --os-bof --common-tables --common-columns --common-files --roles --privileges --passwords --users --is-dba --hostname --current-db --current-user --banner", 'runInVerbose': True, 'amountToSearch': 30, 'dorkFileToUse': '/home/mrgfy/ShodanAPI/lists/Shodan.Dorks.txt'}'
2021-05-01 09:49:57,808;zeus-log;INFO;log file being saved to '/home/mrgfy/Personal-Tools/zeus-scanner/log/zeus-log-13.log'
2021-05-01 09:49:57,808;zeus-log;DEBUG;grabbing random user-agent from '/home/mrgfy/Personal-Tools/zeus-scanner/etc/text_files/agents.txt'
2021-05-01 09:49:57,808;zeus-log;INFO;random agent being used 'Mozilla/5.0 (X11; U; CrOS i686 0.9.130; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.344 Safari/534.10'
2021-05-01 09:49:57,808;zeus-log;INFO;running enumeration on given file '/home/mrgfy/ShodanAPI/lists/wordpress-ip_hostnames.txt'
2021-05-01 09:49:57,808;zeus-log;INFO;starting dork scan with query 'Administration;;.edu US SSH;;hostname:edu country:us port:22'
2021-05-01 09:49:57,809;zeus-log;DEBUG;parsing blacklist
2021-05-01 09:49:57,809;zeus-log;DEBUG;checking for user-agent and proxy configuration
2021-05-01 09:49:57,809;zeus-log;ERROR;[7;31;31mran into exception 'argument of type 'NoneType' is not iterable'
Traceback (most recent call last):
  File "zeus.py", line 263, in <module>
    tor=opt.useTor, batch=opt.runInBatch
  File "/home/mrgfy/Personal-Tools/zeus-scanner/var/search/selenium_search.py", line 217, in parse_search_results
    if not parse_webcache and "google" in url_to_search:
TypeError: argument of type 'NoneType' is not iterable

2021-05-01 09:50:03,858;zeus-log;INFO;[32mZeus got an unexpected error and will automatically create an issue for this error, please wait[0m
2021-05-01 09:50:03,858;zeus-log;INFO;[32mgetting authorization[0m
2021-05-01 09:50:03,858;zeus-log;INFO;[32mextracting traceback from log file[0m
2021-05-01 09:50:03,859;zeus-log;INFO;[32mattempting to get firefox browser version[0m
2021-05-01 09:50:03,863;zeus-log;ERROR;[7;31;31mfailed to run firefox[0m

ZeusIssueReporter avatar May 01 '21 16:05 ZeusIssueReporter