| What | Where |
|---|---|
| Sending HTTP Requests by telnet requres a good telnet client | Install Cygwin and add the inetutils package to it (includes telnet) |
| Add the HackBar Firefox extension which allow sending POST Requests | HackBar Firefox extension |
| < 100% 30% - > | |
| What | Where |
|---|---|
| 1. Introduction into sending HTTP Requests manually, by telnet. | Tutorial here. |
| 2. Use Sockets to send HTTP Requests with Perl | In detail it is described here, and in short:use IO::Socket;
my $sock = new IO::Socket::INET (
PeerAddr => 'www.example.org',
PeerPort => '80',
Proto => 'tcp',
);
die "Could not create socket: $!\n" unless $sock;
print $sock "GET /index.html HTTP/1.0\r\n";
print $sock "Host: www.example.org\r\n";
print $sock "Cookie: test=quest\r\n\r\n";
print while <$sock>;
close($sock); |