Activity 2.1 Host Discovery - FlameSpyro/Tech-Journal GitHub Wiki

IP Scanning


Ping/fping

  • For a ping range, my partner and I decided to make a script that looks like the following:
  1. #!/bin/bash
  2. for i in $(seq 1 50)
  3. do
  4. tab ping -c1 10.0.5.$i | grep "64 bytes from"
  5. done
  • fping does the same process just change the command

NMAP

  • This was a much simpler process and had a simple one liner being
  • nmap -sn 10.0.5.2-50 >> sweep3.txt
  • -sn means the scan will only save host that are available