Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/usr/bin/perl
- while (<STDIN>) {
- chomp;
- my $req= "GET ".$_." HTTP/1.1\r\n".
- "Host: translate.yandex.net\r\n".
- "Accept-Encoding: gzip, deflate\r\n".
- "Connection: Close\r\n".
- "\r\n";
- print length($req)."\n".$req;
- }
Add Comment
Please, Sign In to add comment