This code will run the command $sudo -l on a linux system. From the results it will webscrape GTFObins for exploits. It will then download the exploits found into a bash file to be run via a cli menu.
python3 pullexploit.py
Long argument | Short argument | Value |
---|---|---|
--help | -h | n/a |
--option | -o | [check|find|run|offlinehost|offlinetarget] |
--verbose | -v | n/a |
First time run
python3 pullexploits.py -o find
Once exploits folder has been created
python3 pullexploits.py -o run
On machine with interent
python3 pullexploits.py -o offlinehost
On machine without internet
python3 pullexploits.py -o offlinetarget
python3 pullexploit.py check
returns True or False