Created
October 13, 2012 10:56
-
-
Save direvius/3884148 to your computer and use it in GitHub Desktop.
Post ammo generation for Yandex.Tank
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
my $data ="DATA_IN_POST"; | |
my $req= "POST /updateShopStatus? HTTP/1.0\r\n". | |
"User-Agent: yandex-tank/1.1.1\r\n". | |
"Host: example.com\r\n". | |
"Content-Length:".length ($data)."\r\n". | |
"Connection: Close\r\n". | |
"\r\n". | |
$data."\r\n". | |
"\r\n"; | |
print length($req)."\n".$req; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment