Skip to content
Scan and Export RouterOS Password
Python
Branch: master
Clone or download
miladdiaz Merge pull request #4 from jaavid/master
Continue Read Me Editing 🤓
Latest commit aa10d2a Aug 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Aug 23, 2018
README.md Fix Typo Aug 24, 2018
extract_user.py this file forked from BigNerd95/WinboxExploit with some changes Aug 23, 2018
loop.py Fix Issue #1 Aug 24, 2018

README.md

Mikrotik Exploit

Scan and Export RouterOS Password

allow you to scan subnet of IPv4 in loop with different port.

Installation

install python3

Ubuntu/Debian:

$ apt-get install python3
install python3 Python package manager

Ubuntu/Debian:

$ apt-get install python3-pip

Mac

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
$ brew install python3
Install dependencies
$ pip3 install ipcalc
$ pip3 install requests
Clone the repository
$ git clone https://github.com/miladdiaz/MikrotikExploit
$ cd MikrotikExploit

How to use

scan single ip: In script root dir

$ python3 loop.py 192.168.1.10

scan with different port

$ python3 loop.py 192.168.1.10 -p 8282

scan range of ip

$ python3 loop.py 192.168.1.0/24

scan list of IP from file

$ python3 loop.py -f list.txt

Not wokring on some versions

all versions from 6.29 (release date: 2015/28/05) to 6.42 (release date 2018/04/20)

Secure your router

Update RouterOS and limit Winbox login

ip firewall filter add chain=input in-interface=wan protocol=tcp dst-port=8291 action=drop

Copyright

this repository forked from BigNerd95/Chimay-Red and BasuCert/WinboxPoC with some changes for subnet scan, use different port and IP list file.

You can’t perform that action at this time.