Skip to content

Instantly share code, notes, and snippets.

@mb00g
Last active October 22, 2020 02:31
Show Gist options
  • Save mb00g/12a79f06584bf6567f4aac5dfbc7925f to your computer and use it in GitHub Desktop.
Save mb00g/12a79f06584bf6567f4aac5dfbc7925f to your computer and use it in GitHub Desktop.

Login Mikrotik hotspot via CLI RouterOS

Login

/tool fetch http-method=post http-data="username=j53t6p&password=j3rc" url=("http://belokin.com/login\?dst=http://172.16.115.1") keep-result=yes

Logout

/tool fetch http-method=post url=("http://belokin.com/logout") keep-result=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment