Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 803 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 803 Bytes

su-cracker

This script has been developped under python3, it aims to launch a dictionnary attack on 'su' in order to elevate privileges either horizontally using existing acounts, or vertically using the 'root' account as a target.

Tested on:

Kali GNU/Linux 2020.4

Usage:

python3 su-cracker.py [-h] username wordlist [threads]

positional arguments:
  username    Username to switch to, must be entered
  wordlist    Name or Path to Wordlist to use, must be entered
  threads     Number of threads to launch, recommended between [100-200], 100 by default

optional arguments:
  -h, --help  show this help message and exit

POC

with root:

with another user:

Developper:

Elaffifi Omar Badis / [email protected]

Alias: 5xshanks