Linux node5458.myfcloud.com 6.10.2-x86_64-linode165 #1 SMP PREEMPT_DYNAMIC Tue Jul 30 15:03:21 EDT 2024 x86_64
Apache
: 45.79.123.194 | : 18.189.185.177
16 Domain
7.4.33
addify5
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
perl-Readonly-XS-1.05 /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
test.t
1.2
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test.t
#!/usr/bin/perl # Test suite for Readonly::XS. use strict; use warnings; package Readonly; use Test::More tests => 10; use vars qw/$x $y/; # Find the module (2 tests) BEGIN { eval 'use Readonly::XS'; $@ =~ s/ at .*// if $@; is substr($@,0,71) => "Readonly::XS is not a standalone module. You should not use it directly", 'Unauthorized use'; $Readonly::XS::MAGIC_COOKIE = "Do NOT use or require Readonly::XS unless you're me."; delete $INC{'Readonly/XS.pm'}; eval 'use Readonly::XS'; is $@ => '', 'Authorized use'; } # Functions loaded? (2 tests) ok defined &is_sv_readonly, 'is_sv_readonly loaded'; ok defined &make_sv_readonly, 'make_sv_readonly loaded'; # is_sv_readonly (4 tests) ok is_sv_readonly("hello"), 'constant string is readonly'; ok is_sv_readonly(7), 'constant number is readonly'; *x = \42; ok is_sv_readonly($x), 'constant typeglob thingy is readonly'; $y = 'r/w'; ok !is_sv_readonly($y), 'inconstant variable is not readonly'; # make_sv_readonly (2 tests) make_sv_readonly($y); ok is_sv_readonly($y), 'status changed to readonly'; eval {$y = 75}; $@ =~ s/ at .*// if $@; is $@ => "Modification of a read-only value attempted\n", 'verify readonly-ness';
Close