NetDeviceExploitTool Overview
NetDeviceExploitTool is a Python-based utility designed to interact with network devices via SSH and Telnet. It enables network administrators, engineers, and students to connect to devices such as Cisco switches and MikroTik routers to retrieve configurations, execute commands, and automate tasks. This tool serves as a practical solution for managing and testing network device connectivity. Features
SSH Connection: Securely connect to Cisco devices and run commands such as show running-config to retrieve configurations.
Telnet Connection: Access MikroTik devices using Telnet, execute commands like /export, and fetch configurations.
Automation: Simplifies routine network management tasks, making it easier to interact with multiple devices.
Error Handling: Provides robust error handling to ensure stable operation even in dynamic network environments.
Customizable: Easily adapt the tool for different devices or commands by modifying the script.
Use Cases
Automating backups of network device configurations.
Testing and troubleshooting device connectivity in lab environments.
Educational purposes for learning SSH, Telnet, and network automation.
Prerequisites
Python 3.6 or later.
Required Python libraries:
paramiko for SSH connections.
telnetlib for Telnet connections.
Installation
Clone the repository:
Install the required dependencies:
pip install paramiko
Usage
Modify the script with the appropriate IP addresses, usernames, and passwords for your devices.
Run the script using Python:
python net_device_exploit_tool.py
Example Cisco SSH:
cisco_ssh_exploit('192.168.1.1', 'admin', 'password123')
MikroTik Telnet:
mikrotik_telnet_exploit('192.168.1.2', 'admin', 'password123')
Disclaimer
NetDeviceExploitTool is intended for educational and lawful use only. Ensure you have proper authorization before using it on any network device. Unauthorized use may violate laws or network policies. The developers are not responsible for misuse of this tool. Contributing
Contributions to enhance the functionality or compatibility of this tool are welcome. Please open a pull request or submit an issue for discussion. Developed by Phinias phiniasvitalis95@gmail.com +255613339583