0% found this document useful (0 votes)
12 views2 pages

Jeee Wms Script

Uploaded by

savarengga.700b
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Jeee Wms Script

Uploaded by

savarengga.700b
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

# autologin wms/wifi.

id |
# Warning!!!
# Peringatan Ini adalah script milik Idun SiBolank, Tolong jangan diperjual belikan
dan dishare tanpa seizin Idun SiBolank...!!!
# Jangan mengganti ataupun mengedit tanpa seizin Idun SiBolank, Jika ingin mengedit
atau mengganti data harap hubungi Idun SiBolank...!!!
# Harap simpan rahasia script ini, jangan dishare dipublik apalagi sampai tau pihak
telkom, jika ingin menjaga agar script tetap berjalan lancar...!!!
# Jika ada update keamanan Parameter WMS harap hubungi Idun SiBolank di contact
WA : 08112615677
# Terimakasih
# by idun_punya #
# autologin wms/wifi.id |
# by idun_punya |

:local userlogin "sakera.62j3%@wms.WI08112615.677";


:local passlogin "bolang775";
:local GWid "WAG-D5-KBL";
:local nameETH "5_WMS";
:local nameSCH "wms_watcher_5_WMS";

:local dhcpIP [/ip address get [find interface="$nameETH"] address];


:local dhcpIP [put [:pick $dhcpIP 0 [:find $dhcpIP "/"]]];
:local macID "0C:A8:A7:06:F2:29";
:local wlanID "PMPME00187-N/TLK-CI-96604:@wifi.id";

:local dhcpGW [/ip dhcp-client get [find interface="$nameETH"] gateway];


:if ([:len $dhcpIP] = 0) do={
:log error ("Interface $nameETH cannot obtained IP address --- refreshing...");
/ip dhcp-client release [find interface="$nameETH"];
};
:if ([:len $dhcpIP] != 0) do={
/system scheduler remove [find name="$nameSCH"];
:log error ("INTERNET DOWN::Mencoba Login kembali::");
:delay 1s;
:do {
/tool fetch http-header-field="User-Agent: Mozilla,Origin:
https://welcome2.wifi.id,Connection: keep-alive,Referer:
https://welcome2.wifi.id/wms/?gw_id=$GWid&client_mac=$macID&redirect=" mode=https
http-method=post http-data="username=$userlogin&password=$passlogin"
url=("https://welcome2.wifi.id/wms/auth/authnew/autologin/quarantine.php\?
ipc=$dhcpIP&gw_id=$GWid&client_mac=$macID") keep-result=no;
:if ([/ping address=$dhcpGW interface="$nameETH" count=2] = 0) do={
:log error ("WADUH...! :: - Login GAGAL BOSS - ::");
:log error ("Silahkan Cek...!!!");
/ip dhcp-client release [find interface="$nameETH"];
};
:if ([/ping address=$dhcpGW interface="$nameETH" count=2] != 0) do={
:log warning ("ALHAMDULILLAH....!!!:::Login SUKSES:::");
:log warning ("PING OKE :: INTERNET LANCAR::");
:log warning ("'Script Auto_WMS By idun_siBolank'");
/system scheduler add name="$nameSCH" interval=30s start-date=jan/01/1970 start-
time=00:00:00 on-event=":if ([/ping address=$dhcpGW interface=\"$nameETH\" count=2]
= 0) do={\r\n/ip dhcp-client release [find interface=\"$nameETH\"];\r\n};\r\n"
:local yuuy [/interface wireless get [find name="$nameETH"] comment];
:local yuuy1 " $yuuy";
:local yuuy2;
:for i from=0 to=([:len $yuuy1] - 1) do={
:local char [:pick $yuuy1 $i];
:if ($char = " ") do={:set $char "\\ "};
:set yuuy2 ($yuuy2 . $char);
};
:local commentintf $yuuy2;
:local arraycomment [:toarray [:pick $commentintf ([:find $commentintf " "]+1)
[:len $commentintf]]];
:local comdate [:pick $arraycomment 7];
:local comtime [:pick $arraycomment 8];
:local date [/system clock get date];
:local time [/system clock get time];
:if ($yuuy = 0) do={
/interface wireless set [find name="$nameETH"] comment="last login: $date $time -
idun-sibolank: $date $time";
};
:if ($yuuy != 0) do={
/interface wireless set [find name="$nameETH"] comment="Last login: $comdate
$comtime - idun-sibolank: $date $time";
};
};
} on-error={
:log error ("fatal error --- cannot fetch login page ...");
/ip dhcp-client release [find interface="$nameETH"];
};
};

You might also like