Download the PHP package robinpowered/php-ntlm without Composer
On this page you can find all versions of the php package robinpowered/php-ntlm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robinpowered/php-ntlm
More information about robinpowered/php-ntlm
Files in robinpowered/php-ntlm
Package php-ntlm
Short Description Message encoder/decoder and password hasher for the NTLM authentication protocol
License Apache-2.0
Informations about the package php-ntlm
PHP NTLM
PHP-NTLM is a library that handles the encoding and decoding of messages used in the challenge-and-response flow of the NTLM authentication protocol, while also providing separate injectable credential hashing mechanisms to allow for a more secure version of a credential for storage (rather than storing passwords in "plain-text").
Features
- NTLM client message encoding and decoding
- Multiple text-encoding native-extensions supported
- LM, NTv1, and NTv2 hashing algorithms supported
Requirements
- 64-bit PHP runtime (NTLM negotiation bit flags extend beyond the 32-bit integer size)
- PHP
>=7.1.0
Installation
- Get Composer
- Add
robinpowered/php-ntlm
to your Composer required dependencies:composer require robinpowered/php-ntlm
- Include the Composer autoloader
Example Usage
TODO
- [x] LM hashing
- [x] NTv1 hashing
- [x] NTv2 hashing
- [x] NTLM negotiate message encoding
- [x] NTLM challenge message decoding
- [x] Message structure and data validation
- [x] Negotiate flag decoding
- [x] Server challenge "nonce" handling
- [x] TargetName parsing/handling
- [x] (Optional) TargetInfo parsing/handling
- [ ] (Optional) AV_PAIR decoding
- [ ] (Optional) Version parsing/handling (for debugging purposes only)
- [x] NTLM authenticate message encoding
- [x] NTLM v1 response support
- [x] NTLM v2 response support
- [x] Extended session security (NTLM2 session key) support
- [ ] (Add-on) Encrypted session key exchange support
- [ ] Datagram ("connectionless") support
- [ ] Tests
License
PHP-NTLM is licensed under the Apache License, Version 2.0.
Copyright 2019 Robin Powered, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.