Linux web0273.sh.tyo1 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
Apache
: 127.0.0.1 | : 216.73.216.125
Cant Read [ /etc/named.conf ]
8.3.31
r2745769
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
vendor_perl /
LockFile /
[ HOME SHELL ]
Name
Size
Permission
Action
Lock
[ DIR ]
drwxr-xr-x
Lock.pm
1.22
KB
-rw-r--r--
Manager.pm
1.86
KB
-rw-r--r--
Simple.pm
25.37
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Manager.pm
;# $Id ;# ;# @COPYRIGHT@ ;# ;# $Log: Manager.pm,v $ ;# Revision 0.2 1999/12/07 20:51:05 ram ;# Baseline for 0.2 release. ;# use strict; ######################################################################## package LockFile::Manager; # # A pool of all created locks. # my $MANAGER = undef; # The main manager # # ->make # # Creates a new LockFile::Manager to hold the locks. # # Attributes: # # pool hash of LockFile::Lock objects # wfunc warning function to be called # efunc error function to be called # sub make { my $self = bless {}, shift; my ($wfunc, $efunc) = @_; $self->{'pool'} = {}; $self->{'wfunc'} = $wfunc; $self->{'efunc'} = $efunc; return $self; } # # Attribute access # sub pool { $_[0]->{'pool'} } sub wfunc { $_[0]->{'wfunc'} } sub efunc { $_[0]->{'efunc'} } # # ->manager -- "once" function # # Returns the main manager. # sub manager { my ($class, $wfunc, $efunc) = @_; return $MANAGER || ($MANAGER = $class->make($wfunc, $efunc)); } # # ->remember # # Remember created locks. # sub remember { my $self = shift; my ($lock) = @_; # A LockFile::Lock object my $pool = $self->pool; if (exists $pool->{$lock}) { &{$self->efunc}("lock $lock already remembered"); return; } $pool->{$lock} = $lock; } # # ->forget # # Forget about a lock. # sub forget { my $self = shift; my ($lock) = @_; # A LockFile::Lock object my $pool = $self->pool; unless (exists $pool->{$lock}) { &{$self->efunc}("lock $lock not remembered yet"); return; } delete $pool->{$lock}; } # # ->release_all # # Release all the locks. # sub release_all { my $self = shift; my $pool = $self->pool; my $locks = scalar keys %$pool; return unless $locks; my $s = $locks == 1 ? '' : 's'; &{$self->wfunc}("releasing $locks pending lock$s..."); foreach my $lock (values %$pool) { $lock->release; } } sub END { $MANAGER->release_all if defined $MANAGER } 1;
Close