Linux Tools — Hub

Everything you run from a Linux shell during OSCP — parsing output, hunting files, transferring data, and quick scripting.

OSCP use: After you land a shell or SSH in, these are your daily drivers. Chain Text Processing tools with pipes for log parsing, cred hunting, and wordlist building.

Install: Most utilities are preinstalled. Package list → Installation - Kali Setup > 📌 Linux utilities


📌 Sub-Folders & Notes

Text Processing (grep, awk, find, pipes)

NotePurpose
Text ProcessingHub — pipes, tool picker, quick cheat sheet
grepFilter lines by pattern
findSearch filesystem (SUID, configs, keys)
awkExtract/transform columns
sedFind/replace, delete lines
cutSimple column extraction
sort / uniqSort and dedupe
xargsRun commands on find results
trCharacter translation
Pipelines & ChainingCombine all of the above — OSCP recipes

Standalone Linux Tools

NotePurpose
CurlHTTP requests, file download, API testing
NetcatBind/reverse shells, port listen, file transfer
tcpdumpCapture packets — ICMP ping to Kali, verify reverse shells
rlwrapArrow keys + history for nc listeners
PenelopeFull shell handler — PTY, transfer, modules
File TransferHTTP server, smbserver, certutil, tftp — move tools/loot
Git & GitHubExposed .git dump, git log cred hunt, GitHub OSINT, git clone tools
Archives - unzip 7z zip7z, unzip, zipinfo — backup zips from web/SMB
PythonOne-liners, reverse shells, simple scripts
Rubyexec/socket reverse shells, sudo GTFOBins, shebang cron
xxdHex dump / binary inspection
OpenSSLTLS, certs, passwd hashes, enc/decrypt, dgst
exiftoolEXIF/XMP metadata read/write — full flag reference
File Analysisstrings, binwalk hub + workflows
SteghideExtract hidden data from images/audio (CTF)
stegseekCrack steghide passphrases — see Steghide > Option 1 — stegseek (recommended)

📌 Quick OSCP Cheat Sheet

# Parse logs → user list
grep domain.local log.txt | awk -F@ '{print $1}' | sort -u > users.txt
 
# Hunt creds on box
grep -rni "password" /var/www/ 2>/dev/null
find / -name "*.conf" 2>/dev/null | xargs grep -l "password" 2>/dev/null
 
# SUID enum
find / -perm -4000 -type f 2>/dev/null
 
# Reverse shell listener
rlwrap nc -lvnp 4444
 
# Serve file to target
python3 -m http.server 8080
impacket-smbserver share /tmp/tools -smb2support

See Pipelines & Chaining for full multi-tool recipes.