bensmithyx / pullexploits

Pull exploits from GTFObins based on sudo permissions of a user

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pullexploits

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.

Usage

python3 pullexploit.py
Long argument Short argument Value
--help -h n/a
--option -o [check|find|run|offlinehost|offlinetarget]
--verbose -v n/a

Machine with internet

First time run

python3 pullexploits.py -o find

Once exploits folder has been created

python3 pullexploits.py -o run

Machine without internet

On machine with interent

python3 pullexploits.py -o offlinehost

On machine without internet

python3 pullexploits.py -o offlinetarget

Check if there is a valid exploit

python3 pullexploit.py check

returns True or False

About

Pull exploits from GTFObins based on sudo permissions of a user


Languages

Language:Python 100.0%