msgbox

Untitled

Nov 11th, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.58 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3.   use HTTP::Cookies;
  4.   use LWP::UserAgent;
  5.  
  6.   $where = 'id37047698';
  7.   $login = '[email protected]';
  8.   $passw = 'megapassword';
  9.  
  10.   $request = LWP::UserAgent->new('Mozilla/5.0');
  11.   $cookie = HTTP::Cookies->new;
  12.   $request->cookie_jar($cookie);
  13.  
  14.     $data = $request->get("http://login.vk.com/?act=login&email=$login&pass=$passw&from_host=m.vk.com");
  15.     while(1) {
  16.     $data = $request->get("http://m.vk.com/$where")->as_string;
  17.     $data =~ /like=(.*?)&hash=(.*?)\"/o;
  18.     $data = $request->get("http://m.vk.com/$where?like=$1&hash=$2")->as_string;
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment