Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
ntlm-client
Advanced tools
A node.js NTLM client with support for NTLM and NTLMv2 authentication
A node.js NTLM client with support for NTLM and NTLMv2 authentication
npm install ntlm-client
A convenience function that tries to authenticate against a given URL using the request
module.
If NTLM is not supported, it will fallback to Basic Auth.
options
an object holding below options for the authentication process:
uri
the target URLmethod
the HTTP verbusername
password
request
this is optional. An object that holds options that should be passed to the request instancePromise
when resolved, the request
instance, the result and the response body will be passedCreates a type 1 NTLM message to initialize the NTLM handshake
workstation
Optional. If undefined
, os.hostname()
will be usedtarget
Optional. This is the domain/host we are trying to authenticate against.string
Complete NTLM string that should be sent to the server in the Authentication
headerDecodes a type 2 message received from the server including the NTLM challenge
str
Either the base64 encoded type 2 message, or the complete WWW-Authenticate
header, or an object containg the response headers (http.IncomingMessage
)type2Message
An object containing the following information about the received type 2 message: flags
, encoding
, version
, challenge
, targetName
, targetInfo
.Creates a type 3 message based on the type 2 message received from the server.
type2Message
The decoded type 2 message objectusername
password
workstation
Optional. If falsy, os.hostname()
will be usedtarget
Optional. If falsy, the target name from the type 2 message will be used. This is the domain/host we are trying to authenticate against.string
Complete NTLM string that should be sent to the server in the Authentication
headerFAQs
A node.js NTLM client with support for NTLM and NTLMv2 authentication
The npm package ntlm-client receives a total of 1,406 weekly downloads. As such, ntlm-client popularity was classified as popular.
We found that ntlm-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.