Skip to content

phinias955/NetDeviceExploitTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

NetDeviceExploitTool is a Python utility for interacting with network devices via SSH and Telnet. It allows retrieving configurations from Cisco and MikroTik devices, automating tasks, and testing connectivity. Ideal for network admins and students. For educational and authorized use only.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages