Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
dist /
IO /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
IO.t
2.59
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-tcp.t
1.3
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-udp.t
1.14
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-unix.t
2.87
KB
-r--r--r--
2014-12-27 11:48
io_const.t
577
B
-r--r--r--
2014-12-27 11:48
io_dir.t
1.42
KB
-r--r--r--
2014-12-27 11:48
io_dup.t
1.17
KB
-r--r--r--
2014-12-27 11:48
io_file.t
1.33
KB
-r--r--r--
2014-12-27 11:48
io_file_export.t
517
B
-r--r--r--
2014-12-27 11:48
io_linenum.t
1.26
KB
-r--r--r--
2014-12-27 11:49
io_multihomed.t
2.2
KB
-r--r--r--
2014-12-27 11:48
io_pipe.t
2.54
KB
-r--r--r--
2014-12-27 11:48
io_poll.t
1.36
KB
-r--r--r--
2014-12-27 11:48
io_sel.t
3.21
KB
-r--r--r--
2014-12-27 11:48
io_sock.t
8.78
KB
-r--r--r--
2014-12-27 11:48
io_taint.t
1.29
KB
-r--r--r--
2014-12-27 11:49
io_tell.t
1.36
KB
-r--r--r--
2014-12-27 11:48
io_udp.t
1.99
KB
-r--r--r--
2014-12-27 11:48
io_unix.t
2.41
KB
-r--r--r--
2014-12-27 11:48
io_utf8.t
833
B
-r--r--r--
2014-12-27 11:48
io_utf8argv.t
939
B
-r--r--r--
2014-12-27 11:48
io_xs.t
1.29
KB
-r--r--r--
2014-12-27 12:38
Save
Rename
#!./perl BEGIN { require($ENV{PERL_CORE} ? '../../t/test.pl' : './t/test.pl'); use Config; my $reason; if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bSocket\b/) { $reason = 'Socket was not built'; } elsif ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bIO\b/) { $reason = 'IO was not built'; } undef $reason if $^O eq 'VMS' and $Config{d_socket}; skip_all($reason) if $reason; } sub compare_addr { no utf8; my $a = shift; my $b = shift; if (length($a) != length $b) { my $min = (length($a) < length $b) ? length($a) : length $b; if ($min and substr($a, 0, $min) eq substr($b, 0, $min)) { printf "# Apparently: %d bytes junk at the end of %s\n# %s\n", abs(length($a) - length ($b)), $_[length($a) < length ($b) ? 1 : 0], "consider decreasing bufsize of recfrom."; substr($a, $min) = ""; substr($b, $min) = ""; } return 0; } my @a = unpack_sockaddr_in($a); my @b = unpack_sockaddr_in($b); "$a[0]$a[1]" eq "$b[0]$b[1]"; } plan(7); watchdog(15); use Socket; use IO::Socket qw(AF_INET SOCK_DGRAM INADDR_ANY); $udpa = IO::Socket::INET->new(Proto => 'udp', LocalAddr => 'localhost') || IO::Socket::INET->new(Proto => 'udp', LocalAddr => '127.0.0.1') or die "$! (maybe your system does not have a localhost at all, 'localhost' or 127.0.0.1)"; ok(1); $udpb = IO::Socket::INET->new(Proto => 'udp', LocalAddr => 'localhost') || IO::Socket::INET->new(Proto => 'udp', LocalAddr => '127.0.0.1') or die "$! (maybe your system does not have a localhost at all, 'localhost' or 127.0.0.1)"; ok(1); $udpa->send('BORK', 0, $udpb->sockname); ok(compare_addr($udpa->peername,$udpb->sockname, 'peername', 'sockname')); my $where = $udpb->recv($buf="", 4); is($buf, 'BORK'); my @xtra = (); if (! ok(compare_addr($where,$udpa->sockname, 'recv name', 'sockname'))) { @xtra = (0, $udpa->sockname); } $udpb->send('FOObar', @xtra); $udpa->recv($buf="", 6); is($buf, 'FOObar'); ok(! $udpa->connected); exit(0); # EOF