Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.142.199.54
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
aws /
Aws /
CognitoIdentity /
[ HOME SHELL ]
Name
Size
Permission
Action
Exception
[ DIR ]
drwxr-xr-x
CognitoIdentityClient.php
3.09
KB
-rwxr-xr-x
CognitoIdentityProvider.php
1.66
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CognitoIdentityProvider.php
<?php namespace Aws\CognitoIdentity; use Aws\Credentials\Credentials; use GuzzleHttp\Promise; class CognitoIdentityProvider { /** @var CognitoIdentityClient */ private $client; /** @var string */ private $identityPoolId; /** @var string|null */ private $accountId; /** @var array */ private $logins; public function __construct( $poolId, array $clientOptions, array $logins = [], $accountId = null ) { $this->identityPoolId = $poolId; $this->logins = $logins; $this->accountId = $accountId; $this->client = new CognitoIdentityClient($clientOptions + [ 'credentials' => false, ]); } public function __invoke() { return Promise\coroutine(function () { $params = $this->logins ? ['Logins' => $this->logins] : []; $getIdParams = $params + ['IdentityPoolId' => $this->identityPoolId]; if ($this->accountId) { $getIdParams['AccountId'] = $this->accountId; } $id = (yield $this->client->getId($getIdParams)); $result = (yield $this->client->getCredentialsForIdentity([ 'IdentityId' => $id['IdentityId'], ] + $params)); yield new Credentials( $result['Credentials']['AccessKeyId'], $result['Credentials']['SecretKey'], $result['Credentials']['SessionToken'], (int) $result['Credentials']['Expiration']->format('U') ); }); } public function updateLogin($key, $value) { $this->logins[$key] = $value; return $this; } }
Close