Advertisement
Guest User

Untitled

a guest
Oct 14th, 2012
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. #!C:\Perl64\bin\perl.exe
  2. binmode STDOUT, ':utf8';
  3. use charnames ':full';
  4. use warnings;
  5. use Win32::Ole;
  6. use LWP::Simple;
  7. use strict;
  8. use Encode;
  9.  
  10.  
  11. my $page="";
  12. my $_;
  13. my $link="";
  14. my $count=0;
  15.  
  16. for(my $i=1; $i<=1000000; $i++){
  17. unlink ("zwso.txt") or die $!;
  18. $count++;
  19. open (DATEI, ">zwso.txt") or die $!;
  20. print DATEI get("http://example.net/post/view/$count.php");
  21. close (DATEI);
  22.  
  23.  
  24. open (DATEI,"<zwso.txt") || die $!;
  25. while (<DATEI>){
  26.  
  27. if ($_ =~ /http\:\/\/example\.unterseite\.net\/_images\/|.|\.jpg/m){
  28. $link = ($_ =~ /http\:\/\/example\.unterseite\.net\/_images\/|.|\.jpg/m);
  29. print $link;
  30. last;
  31. }
  32.  
  33. }
  34. close DATEI;
  35.  
  36.  
  37.  
  38.  
  39. #$page=~ /http\:\/\/example\.unterseite\.net\/_images\/|.|\.jpg/m;
  40.  
  41.  
  42. getstore($link,$i);
  43.  
  44. sleep (2);
  45. }
  46. <STDIN>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement