Sunday, August 28, 2016

Script to check the remote network port status with Nmap

Scan the remote network IP and port with Nmap :








Save this as a XYZ.sh and  Run from your terminal.

#!/bin/bash
## Created By Vipin Chereekandy ##
## chereekandy@gmail.com ##
echo "Please enter the DESTINATION IP: "
read dip
echo "Please enter the DESTINATION PORT: "
read port

sudo nmap -Pn $dip -p $port

## END ##

This script will prompt you to enter the DESTINATION IP and PORT, you can enter those details and see the output


*********************