A Multi-Ping tool for sending ICMP requests
Overview
This tool allows sending ICMP requests for specific CIDR or multiple IPs with custom options.
It can use a CIDR file or a list of IPs in a file for sending ICMP_ECHO_REQUEST
Also, it uses multi-threading for sending requests
Usage
SonarPing are rewritten ping protocol in python and becuase of that root privileges is required
Ping Specific IP or Multiplie IPS :
sudo python3 SonarPing.py --ping google.com 8.8.8.8 1.1.1.1
sudo python3 SonarPing.py --file ips.txt
Ping CIDR or CIDR File :
sudo python3 SonarPing.py --cidr 23.235.32.0/29
sudo python3 SonarPing.py --cidrfile ips.txt
Note :
Because there is no dependency for this script you can use curl directly to execute this script
https://raw.githubusercontent.com/SonyaCore/SonarPing/main/SonarPing.py | sudo python3 - --cidrfile ips.txt --delay 0.5
Options
--file , -f | Send ICMP packets through IP file |
--ping , -p | Send ICMP packets |
--cidr , -r | Send ICMP packets through CIDR range |
--cidrfile , -cf | Send ICMP packets with CIDR file |
--delay , -d | ICMP requests delay for sending each packet |
--timeout , -t | ICMP request timeout |
--count , -c | Stop current IP after sending (and receiving) count response packets |
--timeout , -t | ICMP request timeout |
--bytes , -b | Total Bytes to be Send with ICMP header |
License
Licensed under the GPL-3 license.