netprogramming
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
netprogramming [2012/07/29 08:08] – skipidar | netprogramming [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Net Programming, | ||
+ | ==Technical requirenments == | ||
+ | ^What ^Where^ | ||
+ | |Sending HTTP Requests by telnet requres a good telnet client | Install [[http:// | ||
+ | |Add the HackBar Firefox extension which allow sending POST Requests| [[https:// | ||
+ | |||
+ | |||
+ | ==Knowledge== | ||
+ | |< 100% 30% - >| | ||
+ | ^What ^Where^ | ||
+ | |1. Introduction into sending HTTP Requests manually, by telnet.|[[http:// | ||
+ | |2. Use Sockets to send HTTP Requests with Perl |In detail it is described [[http:// | ||
+ | my $sock = new IO:: | ||
+ | | ||
+ | | ||
+ | Proto => ' | ||
+ | ); | ||
+ | die "Could not create socket: $!\n" unless $sock; | ||
+ | print $sock "GET /index.html HTTP/ | ||
+ | print $sock "Host: www.example.org\r\n"; | ||
+ | print $sock " | ||
+ | print while < | ||
+ | close($sock);</ |