Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @ This file is decoded by pLa$71k
- * @ Date: 13 May 2013
- * @ Web: http://pirate-sky.com
- * @ Pirate-Sky Crew (c) 2008 - 2013
- */
- ?>
- <title>RuleWAP.TK</title>
- <h1>I(Garry) am SUper Intelligent. By <a href=http://rulewap.tk>RuleWAP.Tk</a></h1><hr>
- <?php
- set_time_limit(0);
- $cookie = tempnam("/tmp", "CURLCOOKIE");
- $uid = explode(',', $_REQUEST['uid']);
- $pwd = $_REQUEST['pwd'];
- $ser = "www.amulyam.in/";
- $url = "$ser/login.do";
- $url_p = "$ser/playTrivia.do";
- $url_a = "$ser/showTriviaAnswer.do";
- $agent = "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7";
- for ($i = 0; $i < count($uid); $i++) {
- echo "Account Summary For " . $uid[$i] . "<br>";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "$ser");
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
- curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
- "Content-Type: application/x-www-form-urlencoded",
- "Accept: */*"
- ));
- curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "$ser");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- $html = curl_exec($ch);
- $data = "mobile=$uid[$i]&password=$pwd&button=LOGIN";
- curl_setopt($ch, CURLOPT_URL, "$url");
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
- curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
- "Content-Type: application/x-www-form-urlencoded",
- "Accept: */*"
- ));
- curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "$url");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "$data");
- $html = curl_exec($ch);
- if (preg_match("/Invalid login/i", $html, $matches)) {
- echo "<font color=red><b>Login Error</b></font>";
- } else {
- echo "<font color=green><b>Amulyam Trivia Game<br><br></b></font>";
- curl_setopt($ch, CURLOPT_URL, "$url_p");
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
- curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
- "Content-Type: application/x-www-form-urlencoded",
- "Accept: */*"
- ));
- curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "$url_p");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- $html = curl_exec($ch);
- if (preg_match_all("/<p class=\"trivia-question pink\"><span class=\"pink\">(.*?)<\/span><\/p>/i", $html, $n)) {
- $qs = $n[1];
- $qs = implode($qs);
- }
- if (preg_match_all("/input type=\"hidden\" name=\"cp\" value=\"(.*?)\"/i", $html, $n)) {
- $qno = $n[1];
- $qno = implode($qno);
- }
- while ($qno <= 25) {
- $data = "cp=$qno&answer=TRUE";
- curl_setopt($ch, CURLOPT_URL, "$url_a");
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
- curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
- "Content-Type: application/x-www-form-urlencoded",
- "Accept: */*"
- ));
- curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "$url_a");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "$data");
- $html = curl_exec($ch);
- if (preg_match_all("/<h5 class=\"pink\">(.*?)<\/h5>/i", $html, $n)) {
- $res = $n[1];
- $res = implode($res);
- }
- echo "<font color=green><b><font color=blue><font color=maroon>Question No: $qno. </font>$qs </font>($res) </b><br></font>";
- if ($qno == 25) {
- echo "<font color=blue><b><font color=red>To get 50 paisa visit the following page now </font> http://www.amulyam.in/playTrivia.do</b><br></font>";
- echo "<a href=\"http://www.amulyam.in/playTrivia.do\">Click here</a>";
- break;
- } else {
- curl_setopt($ch, CURLOPT_URL, "$url_p");
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
- curl_setopt($ch, CURLOPT_HTTPHEADER, Array(
- "Content-Type: application/x-www-form-urlencoded",
- "Accept: */*"
- ));
- curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "$url_p");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- $html = curl_exec($ch);
- if (preg_match_all("/<p class=\"trivia-question pink\"><span class=\"pink\">(.*?)<\/span><\/p>/i", $html, $n)) {
- $qs = $n[1];
- $qs = implode($qs);
- }
- if (preg_match_all("/input type=\"hidden\" name=\"cp\" value=\"(.*?)\"/i", $html, $n)) {
- $qno = $n[1];
- $qno = implode($qno);
- }
- }
- }
- }
- }
- flush();
- ob_flush();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement