Skip to content
/ pullexploits Public template

Pull exploits from GTFObins based on sudo permissions of a user

Notifications You must be signed in to change notification settings

bensmithyx/pullexploits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages