Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.204
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
Portable /
Delete
Unzip
Name
Size
Permission
Date
Action
CPAN.pm
2.04
KB
-rw-rw-rw-
2020-02-07 22:50
Config.pm
2.14
KB
-rw-rw-rw-
2020-02-07 22:50
FileSpec.pm
4.87
KB
-rw-rw-rw-
2020-02-07 22:50
HomeDir.pm
1.96
KB
-rw-rw-rw-
2020-02-07 22:51
LoadYaml.pm
12.84
KB
-rw-rw-rw-
2020-02-07 22:51
minicpan.pm
1.34
KB
-rw-rw-rw-
2020-02-07 22:51
Save
Rename
package Portable::Config; use 5.008; use strict; use warnings; use Portable::FileSpec; our $VERSION = '1.23'; ##################################################################### # Constructor sub new { my $class = shift; my $parent = shift; unless ( Portable::_HASH($parent->portable_config) ) { die('Missing or invalid config key in portable.perl'); } # Create the object my $self = bless { }, $class; my $conf = $parent->portable_config; my $root = $parent->dist_root; foreach my $key ( sort keys %$conf ) { unless ( defined $conf->{$key} and length $conf->{$key} and not $key =~ /^ld|^libpth$/ ) { $self->{$key} = $conf->{$key}; next; } #join path to directory of portable perl with value from config file if ($key eq 'perlpath') { $self->{$key} = Portable::FileSpec::catfile($root, split /\//, $conf->{$key}); } else { $self->{$key} = Portable::FileSpec::catdir($root, split /\//, $conf->{$key}); } } foreach my $key ( grep { /^ld|^libpth$/ } keys %$self ) { #special handling of linker config variables and libpth next unless defined $self->{$key}; $self->{$key} =~ s/\$(\w+)/$self->{$1}/g; } return $self; } sub apply { my $self = shift; my $parent = shift; # Force all Config entries to load, so that # all Config_heavy.pl code has run, and none # of our values will be overwritten later. require Config; my $preload = { %Config::Config }; # Shift the tie STORE method out the way SCOPE: { no warnings; *Config::_TEMP = *Config::STORE; *Config::STORE = sub { $_[0]->{$_[1]} = $_[2]; }; } # Write the values to the Config hash foreach my $key ( sort keys %$self ) { $Config::Config{$key} = $self->{$key}; } # Restore the STORE method SCOPE: { no warnings; *Config::STORE = delete $Config::{_TEMP}; } # Confirm we got all the paths my $volume = quotemeta $parent->dist_volume; foreach my $key ( sort keys %Config::Config ) { next unless defined $Config::Config{$key}; next if $Config::Config{$key} =~ /$volume/i; next unless $Config::Config{$key} =~ /\b[a-z]\:/i; die "Failed to localize \$Config::Config{$key} ($Config::Config{$key})"; } return 1; } 1;