Leser: 20
QuoteSSL sessions
As of version 0.03, HTTP::Recorder can record SSL sessions.
To begin recording an SSL session, go to the control URL (http://http-recorder/ by default), and enter the initial URL. Then, interact with the web site as usual.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/usr/bin/perl use warnings; use strict; use HTTP::Proxy; use HTTP::Recorder; # create a new HTTP::Recorder object my $agent = HTTP::Recorder->new( file => "/home/user/tmp/my_output_file.pl" ); my $proxy = HTTP::Proxy->new( port => 4567, agent => $agent ); # start the proxy $proxy->start();
$agent->get('https://192.168.222.1/');
1
2
3
4
5
...
Use of uninitialized value $args{"value"} in substitution (s///) at /usr/share/perl5/HTTP/Recorder/Logger.pm line 171.
Use of uninitialized value $args{"value"} in concatenation (.) or string at /usr/share/perl5/HTTP/Recorder/Logger.pm line 173.
Can't locate object method "query_param" via package "rec-action=submitform&rec-formname=...
...