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 /
Safe /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
safe1.t
1.41
KB
-r--r--r--
2014-12-27 11:48
safe2.t
3.48
KB
-r--r--r--
2014-12-27 11:49
safe3.t
1.13
KB
-r--r--r--
2014-12-27 11:48
safeload.t
954
B
-r--r--r--
2014-12-27 11:48
safenamedcap.t
331
B
-r--r--r--
2014-12-27 11:48
safeops.t
8.61
KB
-r--r--r--
2014-12-27 11:49
saferegexp.t
620
B
-r--r--r--
2014-12-27 11:48
safesort.t
1.52
KB
-r--r--r--
2014-12-27 11:48
safeuniversal.t
959
B
-r--r--r--
2014-12-27 11:48
safeutf8.t
1.31
KB
-r--r--r--
2014-12-27 11:48
safewrap.t
1.16
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!perl -w BEGIN { require Config; import Config; if ($Config{'extensions'} !~ /\bOpcode\b/ && $Config{'extensions'} !~ /\bPOSIX\b/ && $Config{'osname'} ne 'VMS') { print "1..0\n"; exit 0; } } use strict; use warnings; use POSIX qw(ceil); use Test::More tests => 2; use Safe; my $safe = new Safe; $safe->deny('add'); my $masksize = ceil( Opcode::opcodes / 8 ); # Attempt to change the opmask from within the safe compartment $safe->reval( qq{\$_[1] = qq/\0/ x } . $masksize ); # Check that it didn't work $safe->reval( q{$x + $y} ); # Written this way to keep the Test::More that comes with perl 5.6.2 happy ok( $@ =~ /^'?addition \(\+\)'? trapped by operation mask/, 'opmask still in place with reval' ); my $safe2 = new Safe; $safe2->deny('add'); open my $fh, '>nasty.pl' or die "Can't write nasty.pl: $!\n"; print $fh <<EOF; \$_[1] = "\0" x $masksize; EOF close $fh; $safe2->rdo('nasty.pl'); $safe2->reval( q{$x + $y} ); # Written this way to keep the Test::More that comes with perl 5.6.2 happy ok( $@ =~ /^'?addition \(\+\)'? trapped by operation mask/, 'opmask still in place with rdo' ); END { unlink 'nasty.pl' }