Guest User

Untitled

a guest
Jan 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. #/usr/bin/perl
  2. while (<STDIN>) {
  3. chomp;
  4. my $req= "GET ".$_." HTTP/1.1\r\n".
  5.   "Host: translate.yandex.net\r\n".
  6.   "Accept-Encoding: gzip, deflate\r\n".
  7.   "Connection: Close\r\n".
  8.   "\r\n";
  9. print length($req)."\n".$req;
  10. }
Add Comment
Please, Sign In to add comment