Skip to content

Instantly share code, notes, and snippets.

@obihann
Last active January 11, 2019 14:27
Show Gist options
  • Save obihann/41068c6766e60179effc25f76890a4a5 to your computer and use it in GitHub Desktop.
Save obihann/41068c6766e60179effc25f76890a4a5 to your computer and use it in GitHub Desktop.
OSCP Tricks
cat ping_10.11.1.0_24_20190106.gnmap
cut -d ' ' -f 2 ping_10.11.1.0_24_20190106.gnmap | sed '/^[0-9].*/!d' | sort -u -o ips_10.11.1.0_24
shuf -n 3 ips_10.11.1.0_24.txt | nmap -sT -A -T5 --open --script=default,vuln -oA nse_$(date +%Y%m%d) -iL -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment