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 /
FFI /
Platypus /
[ HOME SHELL ]
Name
Size
Permission
Action
Lang
[ DIR ]
drwxrwxrwx
Record
[ DIR ]
drwxrwxrwx
Type
[ DIR ]
drwxrwxrwx
TypeParser
[ DIR ]
drwxrwxrwx
API.pm
5.69
KB
-rw-rw-rw-
Buffer.pm
9.62
KB
-rw-rw-rw-
Bundle.pm
15.63
KB
-rw-rw-rw-
Closure.pm
3.39
KB
-rw-rw-rw-
Constant.pm
4.57
KB
-rw-rw-rw-
DL.pm
5.47
KB
-rw-rw-rw-
Declare.pm
10.8
KB
-rw-rw-rw-
Function.pm
3.76
KB
-rw-rw-rw-
Internal.pm
1.29
KB
-rw-rw-rw-
Lang.pm
1.44
KB
-rw-rw-rw-
Legacy.pm
2.17
KB
-rw-rw-rw-
Memory.pm
4.9
KB
-rw-rw-rw-
Record.pm
11.33
KB
-rw-rw-rw-
ShareConfig.pm
1.79
KB
-rw-rw-rw-
Type.pm
40.64
KB
-rw-rw-rw-
TypeParser.pm
3.02
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Function.pm
package FFI::Platypus::Function; use strict; use warnings; use FFI::Platypus; # ABSTRACT: An FFI function object our $VERSION = '1.31'; # VERSION use overload '&{}' => sub { my $ffi = shift; sub { $ffi->call(@_) }; }, 'bool' => sub { my $ffi = shift; return $ffi; }, fallback => 1; package FFI::Platypus::Function::Function; use base qw( FFI::Platypus::Function ); sub attach { my($self, $perl_name, $proto) = @_; my $frame = -1; my($caller, $filename, $line); do { ($caller, $filename, $line) = caller(++$frame); } while( $caller =~ /^FFI::Platypus(|::Function|::Function::Wrapper|::Declare)$/ ); $perl_name = join '::', $caller, $perl_name unless $perl_name =~ /::/; $self->_attach($perl_name, "$filename:$line", $proto); $self; } sub sub_ref { my($self) = @_; my $frame = -1; my($caller, $filename, $line); do { ($caller, $filename, $line) = caller(++$frame); } while( $caller =~ /^FFI::Platypus(|::Function|::Function::Wrapper|::Declare)$/ ); $self->_sub_ref("$filename:$line"); } package FFI::Platypus::Function::Wrapper; use base qw( FFI::Platypus::Function ); sub new { my($class, $function, $wrapper) = @_; bless [ $function, $wrapper ], $class; } sub call { my($function, $wrapper) = @{ shift() }; @_ = ($function, @_); goto &$wrapper; } sub attach { my($self, $perl_name, $proto) = @_; my($function, $wrapper) = @{ $self }; unless($perl_name =~ /::/) { my $caller; my $frame = -1; do { $caller = caller(++$frame) } while( $caller =~ /^FFI::Platypus(|::Declare)$/ ); $perl_name = join '::', $caller, $perl_name } my $xsub = $function->sub_ref; { my $code = sub { unshift @_, $xsub; goto &$wrapper; }; if(defined $proto) { _set_prototype($proto, $code); } no strict 'refs'; *{$perl_name} = $code; } $self; } sub sub_ref { my($self) = @_; my($function, $wrapper) = @{ $self }; my $xsub = $function->sub_ref; return sub { unshift @_, $xsub; goto &$wrapper; }; } 1; __END__ =pod =encoding UTF-8 =head1 NAME FFI::Platypus::Function - An FFI function object =head1 VERSION version 1.31 =head1 SYNOPSIS use FFI::Platypus; # call directly my $ffi = FFI::Platypus->new( api => 1 ); my $f = $ffi->function(puts => ['string'] => 'int'); $f->call("hello there"); # attach as xsub and call (faster for repeated calls) $f->attach('puts'); puts('hello there'); =head1 DESCRIPTION This class represents an unattached platypus function. For more context and better examples see L<FFI::Platypus>. =head1 METHODS =head2 attach $f->attach($name); $f->attach($name, $prototype); Attaches the function as an xsub (similar to calling attach directly from an L<FFI::Platypus> instance). You may optionally include a prototype. =head2 call my $ret = $f->call(@arguments); my $ret = $f->(@arguments); Calls the function and returns the result. You can also use the function object B<like> a code reference. =head2 sub_ref my $code = $f->sub_ref; Returns an anonymous code reference. This will usually be faster than using the C<call> method above. =head1 AUTHOR Author: Graham Ollis E<lt>plicease@cpan.orgE<gt> Contributors: Bakkiaraj Murugesan (bakkiaraj) Dylan Cali (calid) pipcet Zaki Mughal (zmughal) Fitz Elliott (felliott) Vickenty Fesunov (vyf) Gregor Herrmann (gregoa) Shlomi Fish (shlomif) Damyan Ivanov Ilya Pavlov (Ilya33) Petr Pisar (ppisar) Mohammad S Anwar (MANWAR) Håkon Hægland (hakonhagland, HAKONH) Meredith (merrilymeredith, MHOWARD) Diab Jerius (DJERIUS) =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2015,2016,2017,2018,2019,2020 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut
Close