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 : DynamicMethods.pm
package Mojo::DynamicMethods; use Mojo::Base -strict; use Hash::Util::FieldHash qw(fieldhash); use Mojo::Util qw(monkey_patch); sub import { my ($flag, $caller) = ($_[1] // '', caller); return unless $flag eq '-dispatch'; my $dyn_pkg = "${caller}::_Dynamic"; my $caller_can = $caller->can('SUPER::can'); monkey_patch $dyn_pkg, 'can', sub { my ($self, $method, @rest) = @_; # Delegate to our parent's "can" if there is one, without breaking if not my $can = $self->$caller_can($method, @rest); return undef unless $can; no warnings 'once'; my $h = do { no strict 'refs'; *{"${dyn_pkg}::${method}"}{CODE} }; return $h && $h eq $can ? undef : $can; }; { no strict 'refs'; unshift @{"${caller}::ISA"}, $dyn_pkg; } } sub register { my ($target, $object, $name, $code) = @_; state %dyn_methods; state $setup = do { fieldhash %dyn_methods; 1 }; my $dyn_pkg = "${target}::_Dynamic"; monkey_patch($dyn_pkg, $name, $target->BUILD_DYNAMIC($name, \%dyn_methods)) unless do { no strict 'refs'; *{"${dyn_pkg}::${name}"}{CODE} }; $dyn_methods{$object}{$name} = $code; } 1; =encoding utf8 =head1 NAME Mojo::DynamicMethods - Fast dynamic method dispatch =head1 SYNOPSIS package MyClass; use Mojo::Base -base; use Mojo::DynamicMethods -dispatch; sub BUILD_DYNAMIC { my ($class, $method, $dyn_methods) = @_; return sub {...}; } sub add_helper { my ($self, $name, $cb) = @_; Mojo::DynamicMethods::register 'MyClass', $self, $name, $cb; } package main; # Generate methods dynamically (and hide them from "$obj->can(...)") my $obj = MyClass->new; $obj->add_helper(foo => sub { warn 'Hello Helper!' }); $obj->foo; =head1 DESCRIPTION L<Mojo::DynamicMethods> provides dynamic method dispatch for per-object helper methods without requiring use of C<AUTOLOAD>. To opt your class into dynamic dispatch simply pass the C<-dispatch> flag. use Mojo::DynamicMethods -dispatch; And then implement a C<BUILD_DYNAMIC> method in your class, making sure that the key you use to lookup methods in C<$dyn_methods> is the same thing you pass as C<$ref> to L</"register">. sub BUILD_DYNAMIC { my ($class, $method, $dyn_methods) = @_; return sub { my ($self, @args) = @_; my $dynamic = $dyn_methods->{$self}{$method}; return $self->$dynamic(@args) if $dynamic; my $package = ref $self; croak qq{Can't locate object method "$method" via package "$package"}; }; } Note that this module is B<EXPERIMENTAL> and might change without warning! =head1 FUNCTIONS L<Mojo::DynamicMethods> implements the following functions. =head2 register Mojo::DynamicMethods::register $class, $ref, $name, $cb; Registers the method C<$name> as eligible for dynamic dispatch for C<$class>, and sets C<$cb> to be looked up for C<$name> by reference C<$ref> in a dynamic method constructed by C<BUILD_DYNAMIC>. =head1 SEE ALSO L<Mojolicious>, L<Mojolicious::Guides>, L<https://mojolicious.org>. =cut
Close