Bash Scripting
Grep cheatsheet
# with colors and recursive
grep -r "function AddAttachment" --color 2>/dev/null /usr/local/mywebapp/
Examine File structure
Unzip Ear Files
Get MiliSeconds since EPOCH
Apache2
Base64 Powershell payload
Search for uploaded file in file system
Find writable directories
Find top 10000 lines in file using jq
Download all files in list file using wget
Beautify JS files
Uses Python3 jsbeautifier
- Install python3-jsbeautifier