Giter Site home page Giter Site logo

codingmarkus / ntml_auth-replacement Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14 KB

A shell script that works as a drop-in replacement for ntml_auth when used for MSCHAP v2 authentication

License: BSD 2-Clause "Simplified" License

Shell 100.00%

ntml_auth-replacement's Introduction

End of Life Notice

As this project is feature complete and fullfilled its purpose, it has been archived.


ntml_auth Replacement

Description

A shell script that works as a drop-in replacement for ntml_auth when used for MSCHAP v2 authentication, so no full Samba installation is required in many situations; at least if the correct plugin exists. The task of plugin is to fetch the plain-text user password or the pre-calculated MD4 user password hash (also known as NTHASH or sambaNTHash or just NTML password).

Usage

The script behaves like the original ntml_auth when called with the argument --request-nt-key. The following arguments are supported and expected to be present:

  • --username
  • --challenge
  • --nt-response

Documentation of the original tool: ntml_auth

It also allows the argument --allow-mschapv2 but simply ignores it as the script always operates in MSCHAP v2 mode

The following two new parameters were added:

  • --plugin: Which plugin to use (relative or absolute path to plugin).
  • --plugin-args: Which arguments to pass to the plugin (separated by space; quoting is possible).

Note that the last two arguments can also be set via the environment variables NTLM_AUTH_PLUGIN and NTLM_AUTH_PLUGIN_ARGS instead; arguments override environment variables if both are set.

Requirements

The only requirement aside from a POSIX shell environment is OpenSSL to perform the cryptographic operations.

Note that plugins may have requirements of their own but those are only relevant if that plugin is in use.

Plugins

See plugin README.

ntml_auth-replacement's People

Contributors

codingmarkus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.