ztgrace / changeme

A default credential scanner.
GNU General Public License v3.0
1.44k stars 248 forks source link

Selenium PhantomJS driver is deprecated #64

Open ztgrace opened 6 years ago

ztgrace commented 6 years ago

Need to change out driver per warning message?

[21:02:32][http_get][_screenshot] Screenshotting http://127.0.0.1:8080/admin-console/login.seam
/tmp/python2/local/lib/python2.7/site-packages/selenium/webdriver/phantomjs/webdriver.py:49: UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead
  warnings.warn('Selenium support for PhantomJS has been deprecated, please use headless '
Celestial-intelligence commented 5 years ago

is there some fast way to disable screenshoting (and error messages) to reduce scanning time? @ztgrace

ztgrace commented 5 years ago

I'll add disabling screenshots as an option in the future. But for now, you can change this line to pass to disable it: https://github.com/ztgrace/changeme/blob/master/changeme/scanners/http_get.py#L110