Advertisement
dedeanshi

#script auto login wifi-id on ethernet

Apr 15th, 2020
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. #script auto login wifi-id on ethernet
  2. #by maspur
  3. :local getwei [/ip dhcp-client get [find interface=ether1] gateway];
  4. :if ([/ping address=$getwei count=4] = 0) do={/ip dhcp-client release [find interface=ether1]
  5. delay 5
  6. /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