How to install EdMon on Kali Linux
EdMon is a network monitoring tool that is written in Python. In this tutorial, we will guide you through the process of installing EdMon on Kali Linux.
Prerequisites
Before we begin, it's recommended that you have the following set up on your Kali Linux machine:
- Python 3.0 or later
- Git
If you don't have these installed, you can install them by running the following commands in your terminal:
sudo apt-get update
sudo apt-get install python3 git
Installing EdMon
- Clone the EdMon repository by running the following command in your terminal:
git clone https://github.com/Edraens/EdMon.git
- Navigate to the EdMon directory by running the following command:
cd EdMon
- Install the required Python packages by running the following command:
pip3 install -r requirements.txt
- Run EdMon by running the following command:
sudo python3 edmon.py
Note: Running EdMon requires root privileges as it includes functionalities like packet sniffing, so make sure to run it with sudo.
Configuring EdMon
By default, EdMon logs all captured packets to the ./results/ directory. You can configure EdMon by editing the settings in the config.py file.
# Set the path for the log files
log_path = "./results/"
# Define the network interface to sniff on
interface = "eth0"
# Set the sniffing filter
filter = "tcp"
You can change the log_path variable to set the directory where the log files will be saved. You can also change the interface variable to the network interface you want to sniff on, and the filter variable to set the packet filter.
Conclusion
You now have EdMon installed and running on your Kali Linux machine. You can use it to monitor network traffic and analyze captured packets. Remember to use it ethically and responsibly.