| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Super simple ICMP ping implementation
# install needed packages
$ sudo apt install python3-pip python3-venv
# or
$ sudo pip3 install virtualenv
# create and change into Project directory
$ mkdir -p ~/Projects/ICMP-Ping && cd ~/Projects/ICMP-Ping
# create virtualenv
$ virtualenv -p python3 venv
# or
$ python3 -m venv venv
# activate virtualenv
$ . venv/bin/activate
# install requirements
(venv) $ pip install -r requirements.txt
# or
(venv) $ pip install scapy
# list packages (optional)
(venv) $ pip freeze
# make file executable
(venv) $ chmod u+x ICMPping.pyjust run it...
# show help (optional)
(venv) $ sudo venv/bin/python ./ICMPping.py --help
# scan for a specific IP
(venv) $ sudo venv/bin/python ./ICMPping.py en11 172.20.10.1some example from my terminal...
Start ICMP ping on interface en11 on network 172.20.10.1
Begin emission:
Finished sending 1 packets.
Received 4 packets, got 1 answers, remaining 0 packets
172.20.10.1 is alive| Back | FazBrowse Home | New Git URL |