You are on page 1of 1

:local ip ([:tool fetch mode=https http-header-field="User-Agent: Browser canggih"

url="https://welcome2.wifi.id/login/index.php" as-value output=user]->"data");


:set ip [:pick $ip ([:find $ip "ipc="]+4) [:len $ip]];
:set ip [:pick $ip 0 [:find $ip "&"]]
:tool fetch mode=https http-method=post http-header-field="User-Agent: Browser
canggih" http-data="username=88722028266@spin2&password=11086954942761"
url="https://welcome2.wifi.id/authnew/login/check_login.php\?ipc=$ip&gw_id=WAG-D5-
KBL&mac=ac:84:c8:86:2e:0d&redirect=&wlan=BWRGJ00031-N/TLK-CI-47595:@wifi.id";

:if ([:ping 8.8.8.8 count=5]=0) do={:system script run script1;}

You might also like