PATH:
usr
/
share
/
doc
/
perl-Net-SSLeay-1.55
/
examples
#!/usr/bin/perl # tcpcat.pl - Send a message and receive a reply from TCP server. # # Copyright (c) 2003 Sampo Kellomaki <sampo@iki.fi>, All Rights Reserved. # $Id$ # 17.8.2003, created --Sampo $host = 'localhost' unless $host = shift; $port = 443 unless $port = shift; $msg = "get \n\r\n" unless $msg = shift; print "$host $port $msg\n"; use Net::SSLeay qw(tcpcat); print tcpcat($host, $port, $msg); __END__
[-] https-proxy-snif.pl
[edit]
[-] ssl_diff.pl
[edit]
[-] get_page.pl
[edit]
[-] bulk.pl
[edit]
[+]
..
[-] ephemeral.pl
[edit]
[-] cli-cert.pl
[edit]
[-] tcpecho.pl
[edit]
[-] callback.pl
[edit]
[-] passwd-cb.pl
[edit]
[-] get_page_cert.pl
[edit]
[-] ssl-inetd-serv.pl
[edit]
[-] stdio_bulk.pl
[edit]
[-] cb-testi.pl
[edit]
[-] tcpcat.pl
[edit]
[-] server_key.pem
[edit]
[-] bio.pl
[edit]
[-] sslecho.pl
[edit]
[-] req.conf
[edit]
[-] x509_cert_details.pl
[edit]
[-] makecert.pl
[edit]
[-] get_authenticated_page.pl
[edit]
[-] sslcat.pl
[edit]
[-] minicli.pl
[edit]