Coder Social home page Coder Social logo

cve-2023-21823's Introduction

CVE-2023-21823 Reverse Shell for Windows

This repository contains C code that implements a reverse shell for the Windows operating system. A reverse shell allows for remote system control using the command-line, providing the ability to execute commands on the infected machine.

Important

Using this code for illegal purposes or without the permission of the system owner is unlawful and against ethical principles. This code is provided for educational and research purposes only.

Building

To build the project, you will need a C compiler such as MinGW or Microsoft Visual Studio.

MinGW

  1. Install MinGW if you don't have it already.
  2. Open the command prompt and navigate to the directory containing the source code.
  3. Run the following command to build the project:
gcc -o reverse_shell.exe main.c -lws2_32

Microsoft Visual Studio

  1. Install Visual Studio if you don't have it already.
  2. Create a new C project, and then add the source code to the project.
  3. In the project settings, add the ws2_32.lib library.
  4. Build the project.

Usage

Before using the reverse shell:

  1. Replace the IP address ("192.168.0.1") with your own IP address where the port will be listened to.
  2. Replace the port number (1234) with the port number you want to use for listening.

To run the reverse shell:

  1. On your computer, open a port for listening using a tool such as netcat. For example:
nc -l -p 1234
  1. Execute the compiled reverse_shell.exe file on the target computer. After this, you will have remote access to the target computer's command-line via the specified port.

cve-2023-21823's People

Contributors

elizarfish 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.