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
SonarPing are rewritten ping protocol in python and becuase of that root privileges is required
sudo python3 SonarPing.py --ping google.com 8.8.8.8 1.1.1.1
sudo python3 SonarPing.py --file ips.txt
sudo python3 SonarPing.py --cidr 23.235.32.0/29
sudo python3 SonarPing.py --cidrfile ips.txt
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
--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 |
Licensed under the GPL-3 license.