Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

createBasicMessage

  • createBasicMessage(user: string, pwd: string): string
  • Returns the basic auth header

    Parameters

    • user: string

      the username

    • pwd: string

      the password

    Returns string

    the basic auth header

createType1Message

  • createType1Message(workstation?: undefined | string, target?: undefined | string): string
  • Returns the type1 NTLM token

    Parameters

    • workstation: undefined | string = undefined

      param

    • target: undefined | string = undefined

      param

    Returns string

    the NTLM type1 token

createType3Message

  • createType3Message(type2Message: IType2, username: string, password: string, workstation?: string, target?: string): string
  • Returns type3 NTLM token

    Parameters

    • type2Message: IType2

      param

    • username: string

      param

    • password: string

      param

    • Optional workstation: string
    • Optional target: string

    Returns string

    NTLM type3 token

decodeType2Message

  • decodeType2Message(str: any): IType2
  • Returns decoded type2 message

    Parameters

    • str: any

      param

    Returns IType2

    decoded object

Generated using TypeDoc