Skip to content

Enumeration - Linux

linpeas.sh

wget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh
chmod +x linpeas.sh
./linpeas.sh

enum4linux

sudo apt install enum4linux
enum4linux -a $(target)

enum4linux-ng

sudo mkdir /opt/tools
sudo cd /opt/tools
sudo wget https://github.com/cddmp/enum4linux-ng/archive/refs/tags/v1.1.0.tar.gz
sudo tar -xvzf v1.1.0.tar.gz
sudo rm v1.1.0.tar.gz
sudo ln -s /opt/tools/enum4linux-ng-1.1.0/enum4linux-ng.py /usr/bin/enum4linux2
enum4linux2 $(target)

LinEnum.sh

wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
chmod +x LinEnum.sh
./LinEnum.sh

lse.sh

wget https://github.com/diego-treitos/linux-smart-enumeration/releases/latest/download/lse.sh
chmod +x lse.sh
./lse.sh

linux exploit suggester 2

wget https://raw.githubusercontent.com/jondonas/linux-exploit-suggester-2/master/linux-exploit-suggester-2.pl
chmod +x linux-exploit-suggester-2.pl
perl linux-exploit-suggester-2.pl