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:
#!/bin/bash
for i in $(seq 1 50)
do
- tab
ping -c1 10.0.5.$i | grep "64 bytes from"
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