Advertisement
Guest User

pusula

a guest
Apr 18th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.43 KB | None | 0 0
  1. <html>
  2.   <head>
  3.     <title>BOT</title>
  4.     <meta name="name" content="content" charset="utf-8">
  5.   </head>
  6.   <body>
  7.  
  8.     <form action="" method="post">
  9.       <input type="text" name="uid" placeholder="Kullanıcı adınızı giriniz">
  10.       <input type="password" name="pass" placeholder="Şifrenizi giriniz">
  11.       <input name="giris" type="submit" value="Kart Bilgilerini Görüntüle">
  12.     </form>
  13.    
  14.  
  15.     <?php
  16.  
  17.             $ch = curl_init();
  18.  
  19.             $username = $_POST["uid"];
  20.             $password = $_POST["pass"];
  21.             $giris = $_POST["giris"];
  22.  
  23.             $sURL = "http://sistem.pau.edu.tr/bakiye_goster.php"; // The POST URL
  24.             $sPD = "uid=$username&pass=$password&giris=$giris"; // The POST Data
  25.             $aHTTP = array(
  26.               'http' => // The wrapper to be used
  27.                 array(
  28.                 'method'  => 'POST', // Request Method
  29.                 // Request Headers Below
  30.                 'header'  => 'Content-type: application/x-www-form-urlencoded',
  31.                 'content' => $sPD
  32.               )
  33.             );
  34.             $context = stream_context_create($aHTTP);
  35.             $contents = file_get_contents($sURL, false, $context);
  36.  
  37.             echo $contents;
  38.      ?>
  39.  
  40.   </body>
  41.   <script language="javascript">
  42.  
  43. function usercheck(f)
  44. {
  45. !(/^[A-zÑñ0-9-_.]*$/i).test(f.value)?f.value = f.value.replace(/[^A-zÑñ0-9-_.]/ig,''):null;
  46. }
  47. </script>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement