Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-Net-SSLeay /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
bio.pl
1.18
KB
-rw-r--r--
2018-07-09 20:58
bulk.pl
1.91
KB
-rw-r--r--
2018-07-09 20:58
callback.pl
3.12
KB
-rw-r--r--
2018-07-09 20:58
cb-testi.pl
548
B
-rw-r--r--
2018-07-09 20:58
cli-cert.pl
3.72
KB
-rw-r--r--
2018-07-09 20:58
ephemeral.pl
553
B
-rw-r--r--
2018-07-09 20:58
get_authenticated_page.pl
730
B
-rw-r--r--
2018-07-09 20:58
get_page.pl
507
B
-rw-r--r--
2018-07-09 20:58
get_page_cert.pl
966
B
-rw-r--r--
2018-07-09 20:58
https-proxy-snif.pl
4.44
KB
-rw-r--r--
2018-07-09 20:58
makecert.pl
1.5
KB
-rw-r--r--
2018-07-09 20:58
minicli.pl
1.31
KB
-rw-r--r--
2018-07-09 20:58
passwd-cb.pl
809
B
-rw-r--r--
2018-07-09 20:58
req.conf
1.2
KB
-rw-r--r--
2018-07-09 20:58
server_key.pem
963
B
-rw-r--r--
2018-07-09 20:58
ssl-inetd-serv.pl
1.6
KB
-rw-r--r--
2018-07-09 20:58
ssl_diff.pl
631
B
-rw-r--r--
2018-07-09 20:58
sslcat.pl
526
B
-rw-r--r--
2018-07-09 20:58
sslecho.pl
3.07
KB
-rw-r--r--
2018-07-09 20:58
stdio_bulk.pl
2.53
KB
-rw-r--r--
2018-07-09 20:58
tcpcat.pl
422
B
-rw-r--r--
2018-07-09 20:58
tcpecho.pl
1.77
KB
-rw-r--r--
2018-07-09 20:58
x509_cert_details.pl
9.88
KB
-rw-r--r--
2018-07-09 20:58
Save
Rename
#!/usr/bin/perl -w # bio.pl mikem@open.com.au # # Test and demonstrate BIO interface use Net::SSLeay qw(die_now); $data = '0123456789' x 100; $len = length($data); $b = &Net::SSLeay::BIO_new(&Net::SSLeay::BIO_s_mem()) or die_now("Could not create memory BIO $!"); &Net::SSLeay::BIO_write($b, $data) or die_now("Could not write memory BIO $!"); # Should now have 1000 bytes in BIO $pending = &Net::SSLeay::BIO_pending($b); die("Incorrect result from BIO_pending: $pending. Should be $len") unless $pending == $len; # Partial read of 9 bytes $len = 9; $part = &Net::SSLeay::BIO_read($b, $len); $nlen = length($part); die("Incorrect result from BIO_read: $len. Should be 9") unless $nlen == $len; die("Incorrect data from BIO_read: $len. Should be 012345678") unless $part eq '012345678'; # Should be 991 bytes left $len = 991; $pending = &Net::SSLeay::BIO_pending($b); die("Incorrect result from BIO_pending: $pending. Should be $len") unless $pending == $len; # Read the rest $part = &Net::SSLeay::BIO_read($b); $nlen = length($part); die("Incorrect result from BIO_read: $len. Should be 991") unless $len == $nlen; &Net::SSLeay::BIO_free($b); print "OK\n"; exit;