This tiny script get all users Mikrotik RouterOS and exports to csv file
- Python >= 3.6
- Pandas >= 1.2.4
- RouterOS-api >= 0.17.0
- Python3-virtualenv
- git
- Your Mikrotik RouterOS device must have the api enabled in ip->services
- Ubuntu, Mint:
sudo apt update && sudo apt install -y python3-pip git python3-venv
git clone https://github.com/ojpojao/olt8820g.git
cd pastinhas
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Fedora
sudo dnf install -y git
git clone https://github.com/ojpojao/olt8820g.git
cd astinhas
python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
In the main function, edit the host, username and password parameters according to your device. Then save and run the script.
python main.py