Skip to content

Instantly share code, notes, and snippets.

@bluesku
Last active March 2, 2021 22:18
Show Gist options
  • Save bluesku/468b233cefb4ae348f9648d0235dd0c3 to your computer and use it in GitHub Desktop.
Save bluesku/468b233cefb4ae348f9648d0235dd0c3 to your computer and use it in GitHub Desktop.
Nmap Scan Home Network.sh
#! /bin/sh
echo '# https://scriptxone.blogspot.com/'
apt install -y nmap zenmap
mkdir -p ~/scriptx/nmap-reports/HOME_NET
read -p '# Set Hosts.: ' host
nmap -sA --script=default $host -oA ~/scriptx/nmap-reports/HOME_NET/$host
# -oA means that nmap is going to generate report in all Output formarts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment