Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #script auto login wifi-id on ethernet
- #by maspur
- :local getwei [/ip dhcp-client get [find interface=ether1] gateway];
- :if ([/ping address=$getwei count=4] = 0) do={/ip dhcp-client release [find interface=ether1]
- delay 5
- /tool fetch http-header-field="User-Agent: Mozilla/64.0" http-method=post http-data="username=yyyyyyyyyy@spin2&password=zzzz" url=("https://welcome2.wifi.id/authnew/login/check_login.php\?ip=&gw_id=WAG-XX-XXX&client_mac=&wlan=") keep-result=no;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement