🚀 A tool for intercepting and analyzing DNS queries within a network using MITM (Man-in-the-Middle).
✅ Launch ARP Spoofing attacks to intercept network traffic.
✅ Monitor DNS queries from all connected devices.
✅ Extract PTR reverse queries to identify device names.
✅ Professional design using ASCII Art for tool branding.
✅ Enhanced color-coded output for better readability.
Ensure you have Python3 installed, then run the following command to install the required libraries:
pip install -r requirements.txtIf root privileges are required, use:
sudo python3 Q-MITM.pyUpon running the tool, you will be prompted to enter:
- Local network range (e.g.,
192.168.1.0/24) - Gateway address of the network
- Network interface (e.g.,
eth0orwlan0)
[+] Network traffic monitoring started...
--------------------------------------------------------
Time IP Address DNS Query
--------------------------------------------------------
2025-04-02 12:30:45 192.168.1.2 example.com
2025-04-02 12:31:12 192.168.1.3 google.com
✅ Python 3.6+
✅ Scapy for network packet analysis
✅ Colorama for improved terminal output
✅ PyFiglet for ASCII Art generation
📌 Note: Ensure you run the tool with root privileges to successfully intercept network packets.
🚨 This tool is intended for educational and ethical penetration testing purposes only.
❌ Any illegal use of this tool is solely your responsibility.
✅ Only use it on networks where you have explicit permission to test.
Do you have ideas or improvements? Feel free to contribute! Fork the repository and submit a Pull Request.
📌 GitHub: [github.com/QaisCyber]
