Commands

  • Fscan
    cat result.txt | grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' | sort -u > live_hosts
  • Nmap
     nmap -Pn --disable-arp-ping -A --source-port 53 -iL hosts.txt -oN nmap.txt -T4 -p- --version-all --stats-every 5m
     
     nc -vz 93.189.100.160 5060
  • Tmux
    tmux new -s gohish
    tmux attach -t gophish
  • wordlists
    for i in $(seq 2000 2050); do echo "Company@$i"; done > wordlist.txt
  • Masscan
    masscan -iL Targets.txt -p1-65535,U:1-1000 --http-user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0" -oL "output_160.txt" --max-rate 100 --open-only
  • Passwords
openssl rand 60 | openssl base64 -A # Generate a good password 
  • Zip password
    zip --encrypt -r Findings.zip Findings

Notes

  • Don’t forgot the udp ports