• Stars
    star
    166
  • Rank 220,646 (Top 5 %)
  • Language
    Python
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Linux Local Privesc Helper and Agent

GTFOPlus

GTFOPlus is a helper script that relies on the GTFOBins repo to identify standard Linux binaries that could assist with privilege escalation.

Deploy a gtfo.sh script to enumerate these binaries on your target machine.

Example Usage:

python3 gtfo.py -b awk -l shell          | Spawning a shell with awk
python3 gtfo.py -b awk -l all            | Show all GTFO capabilities of awk
python3 gtfo.py -b awk -l all --verbose  | Increase verbosity + ascii art

Using the gtfo.sh agent script:

./gtfo.sh > gtf.out                      | Run this on target machine.
python3 gtfo.py -f gtf.out -l all        | Show all capabilities for all 
                                         | binaries gathered from gtfo.sh

Setup

In the same directory as that you cloned this repo, clone the GTFOBins Repo.

git clone https://github.com/GTFOBins/GTFOBins.github.io.git
python3 -m pip install -r requirements.txt

Requirements

python3
pyyaml

TODO:

  • Make gtf.out parser better. (Add parser for groups, perms, ownership etc.)
  • Pull GTFO bin capabilities from the repo as well.

More Repositories

1

xx

The xx file format. Turn your hex dumps into art, then into binary data.
Python
323
star
2

scare

A multi-arch assembly REPL and emulator for your command line.
Python
261
star
3

protocols

Python
223
star
4

inhale

A malware analysis and classification tool.
Python
192
star
5

golfclub

Binary Golf Examples and Resources
Assembly
159
star
6

pdiff

Binary Protocol Differ
Python
99
star
7

BGGP

Binary Golf Grand Prix
Assembly
96
star
8

yxd

yxd - Yuu's heX Dumper
Python
77
star
9

reversi

Generate very tiny reverse shell binaries for Linux~
Assembly
70
star
10

jLoot

JIRA Secure Attachment Looter
Python
70
star
11

dissectors

random dissectors
Lua
62
star
12

kimagure

Assembly
40
star
13

hardcode

64KB and smaller demoscene intros. Sorted by size. hardcode.untergrund.net
C
35
star
14

i2ao

Intro to Assembly Optimization stream repo
Assembly
25
star
15

notes

Shell
25
star
16

uJunk

An unsorted collection of little tools and scripts I've made that don't fit anywhere else
Python
18
star
17

importsort

Group imports from Windows binaries
Python
15
star
18

b64mute

Base64 Mutator
Python
12
star
19

bgws

HTML
11
star
20

ai_dev

Python
8
star
21

pdiff2

Python
8
star
22

hexcalc

A simple hex calculator in the browser
HTML
8
star
23

enumgen

Enumeration Notes and Cheatsheet Generator
Python
7
star
24

pockettoolz

Python
6
star
25

Simple-Virtual-CPU

A very simple example of a virtual CPU written in C and an "assembler" in python 3.7.
C
5
star
26

ParrotSec_Alternate_Install

Fixes for Parrot Sec Install Scripts
Shell
3
star
27

3DSTests

Some WIP Scripts for the 3DS using ctrulib
Makefile
2
star
28

liltools

Shell
2
star
29

netspooky

2
star
30

NaoDev

Experimental Tools for the Naoqi robot
Makefile
1
star
31

dnb

one of the first projects i made with python
Python
1
star
32

majokko

Super small security focused linux project for embedded devices based on LFS and other embedded projects.
Shell
1
star