EJPT Cheat Sheet

All the commands you need to pass the Elearnsecurity Junior Penetration Tester (EJPT)

Routing

View the existing routes

route
ip route

Add new routes manually

ip route add ROUTETO via ROUTEFROM

example:

sudo ip route add 192.168.222.0/24 via 10.175.34.1

Enumeration and Scanning

Whois

Whois site

Ping Sweep

fping -a -g <ip-subnet/subnet mask> 2>/dev/null

example:

fping -a -g 192.168.222.0/24 2>/dev/null

Nmap

SMB/SAMBA

nbtscan

keep this in mind <20>

net view

net use

enum

nmblookup

smbclient

mysql

SQLi and Sqlmap

John for cracking

Hydra

SMB / SAMBA

ARP spoofing (Dsniff)

Metasploit

Meterpreter

Meterpreter - persistence backdoor

Last updated

Was this helpful?