Skip to content

Instantly share code, notes, and snippets.

Created May 9, 2011 16:11
Show Gist options
  • Save anonymous/962802 to your computer and use it in GitHub Desktop.
Save anonymous/962802 to your computer and use it in GitHub Desktop.
scan.sh - quickly scan your surroundings
#!/bin/bash
# scan.sh
for i in $(/var/root/bin/map | grep "scan report" | awk '{print $5}'); do
nmap -sC -F $i | tee -a scan_output.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment