Last active
March 2, 2021 22:18
-
-
Save bluesku/468b233cefb4ae348f9648d0235dd0c3 to your computer and use it in GitHub Desktop.
Nmap Scan Home Network.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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