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 /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
App
[ DIR ]
drwxrwxrwx
Archive
[ DIR ]
drwxrwxrwx
Attribute
[ DIR ]
drwxrwxrwx
B
[ DIR ]
drwxrwxrwx
CORE
[ DIR ]
drwxrwxrwx
CPAN
[ DIR ]
drwxrwxrwx
Carp
[ DIR ]
drwxrwxrwx
Class
[ DIR ]
drwxrwxrwx
Compress
[ DIR ]
drwxrwxrwx
Config
[ DIR ]
drwxrwxrwx
DBM_Filter
[ DIR ]
drwxrwxrwx
Data
[ DIR ]
drwxrwxrwx
Devel
[ DIR ]
drwxrwxrwx
Digest
[ DIR ]
drwxrwxrwx
Encode
[ DIR ]
drwxrwxrwx
Exporter
[ DIR ]
drwxrwxrwx
ExtUtils
[ DIR ]
drwxrwxrwx
File
[ DIR ]
drwxrwxrwx
Filter
[ DIR ]
drwxrwxrwx
Getopt
[ DIR ]
drwxrwxrwx
HTML
[ DIR ]
drwxrwxrwx
HTTP
[ DIR ]
drwxrwxrwx
Hash
[ DIR ]
drwxrwxrwx
I18N
[ DIR ]
drwxrwxrwx
IO
[ DIR ]
drwxrwxrwx
IPC
[ DIR ]
drwxrwxrwx
JSON
[ DIR ]
drwxrwxrwx
List
[ DIR ]
drwxrwxrwx
Locale
[ DIR ]
drwxrwxrwx
MIME
[ DIR ]
drwxrwxrwx
Math
[ DIR ]
drwxrwxrwx
Memoize
[ DIR ]
drwxrwxrwx
Module
[ DIR ]
drwxrwxrwx
Net
[ DIR ]
drwxrwxrwx
Params
[ DIR ]
drwxrwxrwx
Parse
[ DIR ]
drwxrwxrwx
Perl
[ DIR ]
drwxrwxrwx
PerlIO
[ DIR ]
drwxrwxrwx
Pod
[ DIR ]
drwxrwxrwx
Scalar
[ DIR ]
drwxrwxrwx
Search
[ DIR ]
drwxrwxrwx
Sub
[ DIR ]
drwxrwxrwx
Sys
[ DIR ]
drwxrwxrwx
TAP
[ DIR ]
drwxrwxrwx
Term
[ DIR ]
drwxrwxrwx
Test
[ DIR ]
drwxrwxrwx
Test2
[ DIR ]
drwxrwxrwx
Text
[ DIR ]
drwxrwxrwx
Thread
[ DIR ]
drwxrwxrwx
Tie
[ DIR ]
drwxrwxrwx
Time
[ DIR ]
drwxrwxrwx
Unicode
[ DIR ]
drwxrwxrwx
User
[ DIR ]
drwxrwxrwx
Win32API
[ DIR ]
drwxrwxrwx
auto
[ DIR ]
drwxrwxrwx
autodie
[ DIR ]
drwxrwxrwx
encoding
[ DIR ]
drwxrwxrwx
overload
[ DIR ]
drwxrwxrwx
pods
[ DIR ]
drwxrwxrwx
threads
[ DIR ]
drwxrwxrwx
unicore
[ DIR ]
drwxrwxrwx
version
[ DIR ]
drwxrwxrwx
warnings
[ DIR ]
drwxrwxrwx
.packlist
90.13
KB
-rw-rw-rw-
AnyDBM_File.pm
2.56
KB
-rw-rw-rw-
AutoLoader.pm
15.43
KB
-rw-rw-rw-
AutoSplit.pm
19.18
KB
-rw-rw-rw-
B.pm
28.78
KB
-rw-rw-rw-
Benchmark.pm
30.3
KB
-rw-rw-rw-
CORE.pod
3.11
KB
-rw-rw-rw-
CPAN.pm
142.98
KB
-rw-rw-rw-
Carp.pm
35.12
KB
-rw-rw-rw-
Config.pm
3.3
KB
-rw-rw-rw-
Config.pod
258.26
KB
-rw-rw-rw-
Config_git.pl
421
B
-rw-rw-rw-
Config_heavy.pl
37.27
KB
-rw-rw-rw-
Cwd.pm
21.43
KB
-rw-rw-rw-
DB.pm
18.48
KB
-rw-rw-rw-
DBM_Filter.pm
14.05
KB
-rw-rw-rw-
Digest.pm
10.45
KB
-rw-rw-rw-
DirHandle.pm
2.04
KB
-rw-rw-rw-
Dumpvalue.pm
17.25
KB
-rw-rw-rw-
DynaLoader.pm
25.33
KB
-rw-rw-rw-
Encode.pm
31.33
KB
-rw-rw-rw-
English.pm
4.65
KB
-rw-rw-rw-
Env.pm
5.39
KB
-rw-rw-rw-
Errno.pm
92.68
KB
-rw-rw-rw-
Exporter.pm
18.36
KB
-rw-rw-rw-
Fatal.pm
57.64
KB
-rw-rw-rw-
Fcntl.pm
3.95
KB
-rw-rw-rw-
FileCache.pm
5.42
KB
-rw-rw-rw-
FileHandle.pm
6.63
KB
-rw-rw-rw-
FindBin.pm
4.45
KB
-rw-rw-rw-
GDBM_File.pm
2.03
KB
-rw-rw-rw-
IO.pm
1.42
KB
-rw-rw-rw-
Internals.pod
2.51
KB
-rw-rw-rw-
Memoize.pm
35.34
KB
-rw-rw-rw-
NDBM_File.pm
3.01
KB
-rw-rw-rw-
NEXT.pm
18.54
KB
-rw-rw-rw-
O.pm
4.19
KB
-rw-rw-rw-
ODBM_File.pm
2.9
KB
-rw-rw-rw-
Opcode.pm
15.57
KB
-rw-rw-rw-
POSIX.pm
19.87
KB
-rw-rw-rw-
POSIX.pod
78.81
KB
-rw-rw-rw-
PerlIO.pm
14.1
KB
-rw-rw-rw-
SDBM_File.pm
3.72
KB
-rw-rw-rw-
Safe.pm
24.5
KB
-rw-rw-rw-
SelectSaver.pm
1.05
KB
-rw-rw-rw-
SelfLoader.pm
17.27
KB
-rw-rw-rw-
Socket.pm
36.19
KB
-rw-rw-rw-
Storable.pm
48.75
KB
-rw-rw-rw-
Symbol.pm
4.69
KB
-rw-rw-rw-
Test.pm
29.34
KB
-rw-rw-rw-
Test2.pm
6.24
KB
-rw-rw-rw-
Thread.pm
8.09
KB
-rw-rw-rw-
UNIVERSAL.pm
6.44
KB
-rw-rw-rw-
Win32.pm
57.28
KB
-rw-rw-rw-
Win32CORE.pm
1.27
KB
-rw-rw-rw-
XSLoader.pm
11.37
KB
-rw-rw-rw-
_charnames.pm
33.35
KB
-rw-rw-rw-
attributes.pm
15.97
KB
-rw-rw-rw-
autodie.pm
12.23
KB
-rw-rw-rw-
autouse.pm
4.14
KB
-rw-rw-rw-
base.pm
10.7
KB
-rw-rw-rw-
bigint.pm
22.85
KB
-rw-rw-rw-
bignum.pm
20.64
KB
-rw-rw-rw-
bigrat.pm
15.78
KB
-rw-rw-rw-
blib.pm
2.01
KB
-rw-rw-rw-
bytes.pm
3.65
KB
-rw-rw-rw-
bytes_heavy.pl
758
B
-rw-rw-rw-
charnames.pm
20.44
KB
-rw-rw-rw-
constant.pm
14.38
KB
-rw-rw-rw-
deprecate.pm
4.5
KB
-rw-rw-rw-
diagnostics.pm
18.85
KB
-rw-rw-rw-
dumpvar.pl
15.19
KB
-rw-rw-rw-
encoding.pm
22.41
KB
-rw-rw-rw-
experimental.pm
7.39
KB
-rw-rw-rw-
feature.pm
18.56
KB
-rw-rw-rw-
fields.pm
9.25
KB
-rw-rw-rw-
filetest.pm
3.91
KB
-rw-rw-rw-
if.pm
3.53
KB
-rw-rw-rw-
integer.pm
3.18
KB
-rw-rw-rw-
less.pm
3.13
KB
-rw-rw-rw-
lib.pm
6.2
KB
-rw-rw-rw-
locale.pm
4.74
KB
-rw-rw-rw-
meta_notation.pm
2.07
KB
-rw-rw-rw-
mro.pm
9.66
KB
-rw-rw-rw-
ok.pm
967
B
-rw-rw-rw-
open.pm
8.31
KB
-rw-rw-rw-
ops.pm
997
B
-rw-rw-rw-
overload.pm
52.05
KB
-rw-rw-rw-
overloading.pm
1.77
KB
-rw-rw-rw-
parent.pm
2.64
KB
-rw-rw-rw-
perl5db.pl
309.69
KB
-rw-rw-rw-
perlfaq.pm
77
B
-rw-rw-rw-
perllocal.pod
104.69
KB
-rw-rw-rw-
re.pm
24.8
KB
-rw-rw-rw-
sigtrap.pm
8.53
KB
-rw-rw-rw-
sort.pm
3.82
KB
-rw-rw-rw-
strict.pm
4.63
KB
-rw-rw-rw-
subs.pm
901
B
-rw-rw-rw-
threads.pm
37.06
KB
-rw-rw-rw-
utf8.pm
10.18
KB
-rw-rw-rw-
vars.pm
2.4
KB
-rw-rw-rw-
version.pm
1.93
KB
-rw-rw-rw-
version.pod
9.6
KB
-rw-rw-rw-
vmsish.pm
4.21
KB
-rw-rw-rw-
warnings.pm
49.35
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FileCache.pm
package FileCache; our $VERSION = '1.10'; =head1 NAME FileCache - keep more files open than the system permits =head1 SYNOPSIS no strict 'refs'; use FileCache; # or use FileCache maxopen => 16; cacheout $mode, $path; # or cacheout $path; print $path @data; $fh = cacheout $mode, $path; # or $fh = cacheout $path; print $fh @data; =head1 DESCRIPTION The C<cacheout> function will make sure that there's a filehandle open for reading or writing available as the pathname you give it. It automatically closes and re-opens files if you exceed your system's maximum number of file descriptors, or the suggested maximum I<maxopen>. =over =item cacheout EXPR The 1-argument form of cacheout will open a file for writing (C<< '>' >>) on it's first use, and appending (C<<< '>>' >>>) thereafter. Returns EXPR on success for convenience. You may neglect the return value and manipulate EXPR as the filehandle directly if you prefer. =item cacheout MODE, EXPR The 2-argument form of cacheout will use the supplied mode for the initial and subsequent openings. Most valid modes for 3-argument C<open> are supported namely; C<< '>' >>, C<< '+>' >>, C<< '<' >>, C<< '<+' >>, C<<< '>>' >>>, C< '|-' > and C< '-|' > To pass supplemental arguments to a program opened with C< '|-' > or C< '-|' > append them to the command string as you would system EXPR. Returns EXPR on success for convenience. You may neglect the return value and manipulate EXPR as the filehandle directly if you prefer. =back =head1 CAVEATS While it is permissible to C<close> a FileCache managed file, do not do so if you are calling C<FileCache::cacheout> from a package other than which it was imported, or with another module which overrides C<close>. If you must, use C<FileCache::cacheout_close>. Although FileCache can be used with piped opens ('-|' or '|-') doing so is strongly discouraged. If FileCache finds it necessary to close and then reopen a pipe, the command at the far end of the pipe will be reexecuted - the results of performing IO on FileCache'd pipes is unlikely to be what you expect. The ability to use FileCache on pipes may be removed in a future release. FileCache does not store the current file offset if it finds it necessary to close a file. When the file is reopened, the offset will be as specified by the original C<open> file mode. This could be construed to be a bug. The module functionality relies on symbolic references, so things will break under 'use strict' unless 'no strict "refs"' is also specified. =head1 BUGS F<sys/param.h> lies with its C<NOFILE> define on some systems, so you may have to set I<maxopen> yourself. =cut require 5.006; use Carp; use strict; no strict 'refs'; # These are not C<my> for legacy reasons. # Previous versions requested the user set $cacheout_maxopen by hand. # Some authors fiddled with %saw to overcome the clobber on initial open. our %saw; our $cacheout_maxopen = 16; use parent 'Exporter'; our @EXPORT = qw[cacheout cacheout_close]; my %isopen; my $cacheout_seq = 0; sub import { my ($pkg,%args) = @_; # Use Exporter. %args are for us, not Exporter. # Make sure to up export_to_level, or we will import into ourselves, # rather than our calling package; __PACKAGE__->export_to_level(1); Exporter::import( $pkg ); # Truth is okay here because setting maxopen to 0 would be bad return $cacheout_maxopen = $args{maxopen} if $args{maxopen}; # XXX This code is crazy. Why is it a one element foreach loop? # Why is it using $param both as a filename and filehandle? foreach my $param ( '/usr/include/sys/param.h' ){ if (open($param, '<', $param)) { local ($_, $.); while (<$param>) { if( /^\s*#\s*define\s+NOFILE\s+(\d+)/ ){ $cacheout_maxopen = $1 - 4; close($param); last; } } close $param; } } $cacheout_maxopen ||= 16; } # Open in their package. sub cacheout_open { return open(*{caller(1) . '::' . $_[1]}, $_[0], $_[1]) && $_[1]; } # Close in their package. sub cacheout_close { # Short-circuit in case the filehandle disappeared my $pkg = caller($_[1]||0); defined fileno(*{$pkg . '::' . $_[0]}) && CORE::close(*{$pkg . '::' . $_[0]}); delete $isopen{$_[0]}; } # But only this sub name is visible to them. sub cacheout { my($mode, $file, $class, $ret, $ref, $narg); croak "Not enough arguments for cacheout" unless $narg = scalar @_; croak "Too many arguments for cacheout" if $narg > 2; ($mode, $file) = @_; ($file, $mode) = ($mode, $file) if $narg == 1; croak "Invalid mode for cacheout" if $mode && ( $mode !~ /^\s*(?:>>|\+?>|\+?<|\|\-|)|\-\|\s*$/ ); # Mode changed? if( $isopen{$file} && ($mode||'>') ne $isopen{$file}->[1] ){ &cacheout_close($file, 1); } if( $isopen{$file}) { $ret = $file; $isopen{$file}->[0]++; } else{ if( scalar keys(%isopen) > $cacheout_maxopen -1 ) { my @lru = sort{ $isopen{$a}->[0] <=> $isopen{$b}->[0] } keys(%isopen); $cacheout_seq = 0; $isopen{$_}->[0] = $cacheout_seq++ for splice(@lru, int($cacheout_maxopen / 3)||$cacheout_maxopen); &cacheout_close($_, 1) for @lru; } unless( $ref ){ $mode ||= $saw{$file} ? '>>' : ($saw{$file}=1, '>'); } #XXX should we just return the value from cacheout_open, no croak? $ret = cacheout_open($mode, $file) or croak("Can't create $file: $!"); $isopen{$file} = [++$cacheout_seq, $mode]; } return $ret; } 1;
Close