This app send messages in the boby of the ICMP packeges echo-resquest and echo-replay.
This messages can be send in clear text or cryptografed with SHA256.
sudo apt install dialog
sudo apt install zip
# You need install python 3.10
# Try somethin like this
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10 -y # You can install latest version
python3 --version
# You need install pip
sudo apt install python3-pip
# You need install python Scapy library
# The installation guite is avaliable in: htts://www.scapy.net
# If python was instaled before, Tray something like this
sudo pip install --pre scapy[complete]
# You need install Crypt.Cyper python libre
#Try something lik this
sudo pip install pycryptodome==3.4.3
#obs.: If you install the version 3.16.0 will be have problems
wget https://github.com/KeystoneDevBr/encrypted-ping/archive/refs/heads/main.zip
unzip main.zip
mv encrypted-ping-main/ ./encrypted-ping/
#Grant executable permission
sudo chmod 775 -R ./encrypted-ping/
#Check the app files
cd ./encrypted-ping/
#Show files
ls -1 ./encrypted-ping/
# You need see something like this:
# ./encrypted-ping/
# README.md
# f_information.sh
# f_seng_ping.sh
# f_sniff_ping.sh
# icmp-receive.py
# icmp-send.py
# imags
# index.sh
The files icmp-send.py and icmp-receive.py are reponsible for sending and receiving messages.
Star the sniffer in the receiver server (192.168.30.5)
# Execute the sniffer in backgroud until the first package received
sudo python3 ./encrypted-ping/icmp-receive.py -c n -a 192.168.30.1
Send message in the sender server (19.168.30.1)
sudo python3 ./encrypted-ping/icmp-send.py -c n -a 192.168.30.5 -m "Clear Message to Send" -q 4
Star the sniffer in the receiver server (192.168.30.5)
sudo python3 ./encrypted-ping/icmp-receive.py -c y -k "key" -a 192.168.30.1
Send message in the sender server (19.168.30.1)
sudo python3 ./encrypted-ping/icmp-send.py -cy -k "key" -a 192.168.30.5 -m "Crypted Message to Send" -q 4
cd ./encrypted-ping/
# Execute this app insite the folter ./encrypted-ping/
sudo index.sh