Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

script: massping.sh: mass ping scanner

Tags: checking usage

pretty fasti know.. some ranges are not valid. More Checking needs to be done#!/bin/bash## ./shping.sh 192.168.0.1-150function usage() { echo "usage example: $0 192.168.0.1-100" exit 1}IFS='.'iprange=($@) # 192 168 0 1-100IFS=$'\040\t\n' # printf "$IFS"|hexdump -bcsrange=${iprange[3]/%-*/} # 1erange=${iprange[3]/#*-/} # 100j=0# Do some checking[ "$#" == "1" ]



This post first appeared on Unix Art, please read the originial post: here

Share the post

script: massping.sh: mass ping scanner

×

Subscribe to Unix Art

Get updates delivered right to your inbox!

Thank you for your subscription

×