Advertisement
plas71k

blogb.php => decoded

May 13th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.28 KB | None | 0 0
  1. <?php
  2. /*
  3. * @ This file is decoded by pLa$71k
  4. * @ Date: 13 May 2013
  5. * @ Web: http://pirate-sky.com
  6. * @ Pirate-Sky Crew (c) 2008 - 2013
  7. */
  8. ?>
  9. <title>RuleWAP.TK</title>
  10. <h1>I(Garry) am SUper Intelligent. By <a href=http://rulewap.tk>RuleWAP.Tk</a></h1><hr>
  11. <?php
  12. set_time_limit(0);
  13. $cookie = tempnam("/tmp", "CURLCOOKIE");
  14. $uid    = explode(',', $_REQUEST['uid']);
  15. $pwd    = $_REQUEST['pwd'];
  16. $ser    = "www.amulyam.in/";
  17. $url    = "$ser/login.do";
  18. $agent  = "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7";
  19.  
  20. for ($i = 0; $i < count($uid); $i++) {
  21.     $ch = curl_init();
  22.    
  23.     $data = "mobile=$uid[$i]&password=$pwd&button=LOGIN";
  24.     curl_setopt($ch, CURLOPT_URL, "$url");
  25.     curl_setopt($ch, CURLOPT_USERAGENT, $agent);
  26.     curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
  27.     curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
  28.         "Content-Type: application/x-www-form-urlencoded",
  29.         "Accept: */*"
  30.     ));
  31.     curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
  32.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  33.     curl_setopt($ch, CURLOPT_REFERER, "$url");
  34.     curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
  35.     curl_setopt($ch, CURLOPT_POST, 1);
  36.     curl_setopt($ch, CURLOPT_POSTFIELDS, "$data");
  37.     $html = curl_exec($ch);
  38.    
  39.     if (preg_match("/Invalid login/i", $html, $matches)) {
  40.         echo "<font color=red><b>Login Error</b></font>";
  41.     } else {
  42.         curl_setopt($ch, CURLOPT_URL, "www.amulyam.in/displayMyWallet.do");
  43.         curl_setopt($ch, CURLOPT_USERAGENT, $agent);
  44.         curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
  45.         curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
  46.             "Content-Type: application/x-www-form-urlencoded",
  47.             "Accept: */*"
  48.         ));
  49.         curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
  50.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  51.         curl_setopt($ch, CURLOPT_REFERER, "$ser");
  52.         curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
  53.         $html = curl_exec($ch);
  54.        
  55.         preg_match("/<p class=\"balance\">(.*?)<\/p>/i", $html, $n);
  56.         $rs = $n[1];
  57.         echo "<h2><b><font color=blue>For Account :$uid[$i]</font></b><br><font color=maroon>CuRRenT BaLance :$rs</font><hr>";
  58.        
  59.     }
  60.    
  61.    
  62. }
  63. flush();
  64. ob_flush();
  65. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement