Skip to content

ganeshbabugb/ip-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ip-scanner

This script will list all IPs in subnetwork.

Screenshots

Screenshot

Description

The script uses arp -a or ip -o -f inet addr show to find the subnet.
Basically, $baseip is built using bash replacement macros in the second part of the script if no parameter is provided on the command line. Otherwise it will scan the provided subnet (style: 192.168.247 without the third dot last byte of the IP).

Installation

  git clone https://github.com/ganeshbabugb/ip-scanner.git

Go to the project directory

  cd ip-scanner

Give permission to the script

  chmod +x ip-scanner.sh

Start the script

  bash ip-scanner.sh (or) bash ip-scanner.sh 192.168.247

About

This script will list all IPs in subnetwork.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages