kerberos~ KerberosClient

KerberosClient is a kerberos client

Constructor

new KerberosClient()

Methods

EnumerateUser(domain, controller, username) → {EnumerateUserResponse}

EnumerateUser returns true if the user exists in the domain. If the user is not found, false is returned. If the user is found, true is returned. Optionally, the AS-REP hash is also returned if discovered.
Parameters:
NameTypeDescription
domainstringThe domain to check.
controllerstringThe controller to use.
usernamestringThe username to check.
Throws:
- The error encountered during enumeration.
Type
error
Returns:
- The response of the enumeration.
Type: 
EnumerateUserResponse
Example
let m = require('nuclei/kerberos');
let c = m.KerberosClient();
let response = c.EnumerateUser('domain', 'controller', 'username');