RedSiege / EyeWitness

EyeWitness is designed to take screenshots of websites, provide some server header info, and identify default credentials if possible.
https://www.christophertruncer.com/eyewitness-usage-guide/
GNU General Public License v3.0
4.93k stars 843 forks source link

Python Setup Script Rewrite #639

Closed 0x6d6f7468 closed 4 months ago

0x6d6f7468 commented 8 months ago

Problem

The Python setup.sh script has ballooned in length and complexity to the point that it is now cumbersome to maintain. To thoroughly solve a handful of issues, I believe it's time to refactor/rewrite the setup script.

Please note that I mean no disrespect to the original authors of the current setup.sh script. My guess is that as the project ballooned in complexity, more support was added to the script incrementally.

Task

Rewrite the setup.sh script

Goals

  1. Reduce code redundancy
  2. Improve CPU architecture support for geckodriver
  3. Remove the need for manual geckodriver version updates by instead calling the GitHub API
  4. Add a bit more error checking