Code Monkey home page Code Monkey logo

backdoorlinux's Introduction

Security Testing Scripts - Back door linux via ssh

This repository contains two Bash scripts designed for security testing in controlled environments. These scripts should be used only with proper authorization and in compliance with all applicable laws and ethical guidelines.Prerequisites

Scripts

  1. backdoor.sh: This script performs various operations like creating a user, modifying SSH configurations, and setting up a socat listener.

  2. sessionCreator.sh: This script attempts to establish SSH and socat connections to a specified target machine to test access and connectivity.

How to Run

The script should be run as a root user.
You need to have socat installed on the target machine. If not, the script will automatically install it.

Usage

Run the script as a root user
Check if the SSH port is changed to 2222 by using the command cat /etc/ssh/ssh_config
Check if the listener is running on port 3177 using socat
Connect to the target machine using the following command: socat STDIO TCP4:TARGET_IP:3177

Security Warning

This script is provided for educational purposes only. The use of this script in any unauthorized or malicious way is strictly prohibited. The script creates a security vulnerability on the target machine and should be used with caution.

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.