Even if it was something as basic as providing a URL "http:///myMikrotik/cmd/cmd.cgi" where the admin could POST or GET console commands to that specific page, the script would then return the output.
e.g.
Code: Select all
GET /cmd/cmd.cgi?interface print HTTP/1.0
HTTP/1.0 200 OK
Server: Mikrotik01
MIME-version: 1.0
Content-type: text/html
Flags: X - disabled, D - dynamic, R - running
# NAME TYPE RX-RATE TX-RATE MTU
0 R Ethernet0 ether 0 0 1500
For the security concious you could restrict access by IP Address to this URL and you could also use SSL.
This would allow admins to access the inner workings or automate the process from an external host using their preferred scripting language (PHP, Python, VBScript etc)
I believe this additional feature would make RouterOS even more superior than it already is (and it would be very useful to me
