You are on page 1of 1

:local username "08122121279401.gtka@wms.1208372258.

000";

:local password "08122121279401";

:local int "wlan2.4"

:local gwid "WAG2-D3-CBN";

:local wlanid "CBNSDU00068-N/TLK-CI-44405:ISK@Wifi.id";

:local ip [:pick [:ip address get [:ip addres find interface=$int] address] 0
([:len [:ip address get [:ip addres find interface=$int] address]]-3) ];

:local mac [/interface wireless get [ find default-name=$int] mac-address];

:tool fetch mode=https http-header-field="Content-Type: application/x-www-form-


urlencoded; charset=UTF-8,User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36,Referer: https://welcome2.wifi.id" http-method=post http-
data="username=$username&password=$password"
url="https://welcome2.wifi.id/wms/auth/authnew/autologin/quarantine.php\?
ipc=$ip&gw_id=$gwid&mac=$mac&username=$username&password=$password&redirect=&wlan=$
wlanid";

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

You might also like