webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Console
--
ren
Events
--
ren
RateLimiting
--
ren
ApcStore.php
2.455KB
edt
ren
ApcWrapper.php
1.93KB
edt
ren
ArrayLock.php
2.099KB
edt
ren
ArrayStore.php
4.674KB
edt
ren
CacheLock.php
1.794KB
edt
ren
CacheManager.php
10.639KB
edt
ren
CacheServiceProvider.php
1.318KB
edt
ren
DatabaseLock.php
3.761KB
edt
ren
DatabaseStore.php
10.863KB
edt
ren
DynamoDbLock.php
1.545KB
edt
ren
DynamoDbStore.php
14.597KB
edt
ren
FileLock.php
0.265KB
edt
ren
FileStore.php
9.673KB
edt
ren
HasCacheLock.php
0.665KB
edt
ren
LICENSE.md
1.05KB
edt
ren
Lock.php
3.497KB
edt
ren
LuaScripts.php
0.451KB
edt
ren
MemcachedConnector.php
2.326KB
edt
ren
MemcachedLock.php
1.419KB
edt
ren
MemcachedStore.php
6.178KB
edt
ren
NoLock.php
0.676KB
edt
ren
NullStore.php
2.343KB
edt
ren
PhpRedisLock.php
0.81KB
edt
ren
RateLimiter.php
4.927KB
edt
ren
RedisLock.php
1.732KB
edt
ren
RedisStore.php
10.136KB
edt
ren
RedisTagSet.php
3.127KB
edt
ren
RedisTaggedCache.php
3.041KB
edt
ren
Repository.php
16.702KB
edt
ren
RetrievesMultipleKeys.php
1.128KB
edt
ren
TagSet.php
2.458KB
edt
ren
TaggableStore.php
0.411KB
edt
ren
TaggedCache.php
2.501KB
edt
ren
composer.json
1.485KB
edt
ren
<?php namespace Illuminate\Cache; use Illuminate\Contracts\Cache\Lock as LockContract; use Illuminate\Contracts\Cache\LockTimeoutException; use Illuminate\Support\InteractsWithTime; use Illuminate\Support\Sleep; use Illuminate\Support\Str; abstract class Lock implements LockContract { use InteractsWithTime; /** * The name of the lock. * * @var string */ protected $name; /** * The number of seconds the lock should be maintained. * * @var int */ protected $seconds; /** * The scope identifier of this lock. * * @var string */ protected $owner; /** * The number of milliseconds to wait before re-attempting to acquire a lock while blocking. * * @var int */ protected $sleepMilliseconds = 250; /** * Create a new lock instance. * * @param string $name * @param int $seconds * @param string|null $owner * @return void */ public function __construct($name, $seconds, $owner = null) { if (is_null($owner)) { $owner = Str::random(); } $this->name = $name; $this->owner = $owner; $this->seconds = $seconds; } /** * Attempt to acquire the lock. * * @return bool */ abstract public function acquire(); /** * Release the lock. * * @return bool */ abstract public function release(); /** * Returns the owner value written into the driver for this lock. * * @return string */ abstract protected function getCurrentOwner(); /** * Attempt to acquire the lock. * * @param callable|null $callback * @return mixed */ public function get($callback = null) { $result = $this->acquire(); if ($result && is_callable($callback)) { try { return $callback(); } finally { $this->release(); } } return $result; } /** * Attempt to acquire the lock for the given number of seconds. * * @param int $seconds * @param callable|null $callback * @return mixed * * @throws \Illuminate\Contracts\Cache\LockTimeoutException */ public function block($seconds, $callback = null) { $starting = $this->currentTime(); while (! $this->acquire()) { Sleep::usleep($this->sleepMilliseconds * 1000); if ($this->currentTime() - $seconds >= $starting) { throw new LockTimeoutException; } } if (is_callable($callback)) { try { return $callback(); } finally { $this->release(); } } return true; } /** * Returns the current owner of the lock. * * @return string */ public function owner() { return $this->owner; } /** * Determines whether this lock is allowed to release the lock in the driver. * * @return bool */ public function isOwnedByCurrentProcess() { return $this->getCurrentOwner() === $this->owner; } /** * Specify the number of milliseconds to sleep in between blocked lock acquisition attempts. * * @param int $milliseconds * @return $this */ public function betweenBlockedAttemptsSleepFor($milliseconds) { $this->sleepMilliseconds = $milliseconds; return $this; } }