Skip to content

Instantly share code, notes, and snippets.

@balook
Last active January 3, 2020 18:36
Show Gist options
  • Save balook/bb0182e9842d4aec36b3eb35e0eadd15 to your computer and use it in GitHub Desktop.
Save balook/bb0182e9842d4aec36b3eb35e0eadd15 to your computer and use it in GitHub Desktop.
One Liners Mostly i use
cat asset-domains.txt | while read line; do echo $line; done
cat asset-domains.txt | while read x; do nmap -Pn $(dig +short $x | head -n1); done
cat asset-domains.txt | while read x; do <perform any function like nmap OR directory brutE OR recursive subdomains , sub bruteforc>; done
#echo xyz.google.com | rev | awk -F'.' '{print $1\.$2\.$3}' | rev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment