Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>BOT</title>
- <meta name="name" content="content" charset="utf-8">
- </head>
- <body>
- <form method="post" action="" name="form1"><div class="bg" style="position: absolute; left:0px; top:0px; width:420px; height:260px; overflow: hidden; border: 0px blue solid; "><img src="uni_kart.jpg" width="420" height="260" style="border: 0px black solid;"></div><div class="bg" style="position: absolute; left:18px; top:58px; width:105px; height:140px; overflow: hidden; border: 0px cyan solid; "><img src="uka0.jpg" width="105" height="140" style="border: 0px black solid;"></div><div class="content" style="position: absolute; left:140px; top:145px; width:250px; height:22px; overflow: visible; border: 0px red solid; ">
- <strong>E-posta kullanıcı adınız </strong><input autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" type="text" name="uid" maxlength="25" size="13" onkeyup="usercheck(this);" onblur="usercheck(this);" style="color: black; font-family: Tahoma; font-size: 13px; width: 112px; height: 22px;">
- </div><div class="content" style="position: absolute; left:183px; top:180px; width:210px; height:22px; overflow: visible; border: 0px green solid; ">
- <strong>E-posta şifreniz </strong><input autocapitalize="off" type="password" name="pass" maxlength="25" size="14" style="color: black; font-family: Tahoma; font-size: 13px; width: 112px; height: 22px;">
- </div><div class="content" style="position: absolute; left:15px; top:220px; width:380px; height:30px; overflow: visible; border: 0px black solid; ">
- <input type="submit" name="giris" id="giris" value="Kart Bilgilerini Görüntüle" style="color: black; font-family: Tahoma; font-weight: bold; font-size: 13px; width: 380px; height: 30px;">
- </div></form>
- <?php
- $username = $_POST["uid"];
- $password = $_POST["pass"];
- $giris = $_POST["giris"];
- function httpPost($url,$params)
- {
- $postData = '';
- //create name value pairs seperated by &
- foreach($params as $k => $v)
- {
- $postData .= $k . '='.$v.'&';
- }
- $postData = rtrim($postData, '&');
- $ch = curl_init();
- curl_setopt($ch,CURLOPT_URL,$url);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch,CURLOPT_HEADER, false);
- curl_setopt($ch, CURLOPT_POST, count($postData));
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
- $output=curl_exec($ch);
- curl_close($ch);
- return $output;
- }
- $params = array(
- "uid" => $username,
- "pass" => $password,
- "giris" => $giris
- );
- echo httpPost("http://sistem.pau.edu.tr/bakiye_goster.php",$params);
- ?>
- </body>
- <script language="javascript">
- function usercheck(f)
- {
- !(/^[A-zÑñ0-9-_.]*$/i).test(f.value)?f.value = f.value.replace(/[^A-zÑñ0-9-_.]/ig,''):null;
- }
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement