Coder Social home page Coder Social logo

cybercoral / rmetapy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from git5loxosec/rmetashell

2.0 0.0 0.0 716 KB

The python port of rMETAshell, which takes any command (although with reverse shell commands works best) and an image, video or text file as input. It then injects the command into the file using metadata comments. After injection, it generates a one-liner execution method for retrieving and executing the injected command from a remote location.

Home Page: https://www.loxosec.rf.gd/

License: GNU Affero General Public License v3.0

Shell 48.06% Python 51.94%

rmetapy's Introduction

LATEST UPDATE: 8:34 PM Sunday, October 1, 2023 Coordinated Universal Time (UTC)

THIS PROJECT IS UNDER CONSTANT DEVELOPMENT!

rMETApy - A Python3 port for rMETAshell, a Reverse Shell Metadata Injection and One-Liner Generation Toolkit

Now, the README.md from rMETAshell:

Sponsor Kali Linux Compatible Language Static

Clean image file no reverse shell.

The reverse shell injection method used here wont affect the integrity of the image file.

Connection established, mission accomplished!

Description:

rMETAshell is a command-line tool for injecting a reverse shell command into the metadata and generating one-liner execution methods.

How It Works:

rMETAshell takes a reverse shell command and an image, video or text file as input. It then injects the command into the file using metadata comments. After injection, it generates a one-liner execution method for retrieving and executing the injected command from a remote location.

Features:

Metadata-Based Shell Injection: Inject reverse shell commands into image, video, and text file, ensuring seamless integration with target systems.

One-Liner Generation: Automatically generate one-liners for quick and efficient remote shell access. Choose from a variety of execution methods tailored to different file formats.

Supported File Formats: rMETAshell supports the following file formats for shell injection and one-liner generation:

  • Image Formats: JPEG, PNG, BMP, and more.
  • Video Formats: MP4, AVI, MKV, and others.
  • Text Formats: TXT, CSV, XML, and more.

Requirements:

Linux-based operating system (Tested on Kali 2023.3,Ubuntu 20.04 LTS and Termux) Dependencies: ExifTool, Exiv2, ImageMagick (identify), FFprobe, Curl, Sed Compatible file formats: Media (e.g., images, videos), Text files (e.g., TXT, HTML, XML) Zip and Rar archive support

Installation:

Clone the repository:

git clone https://github.com/git5loxosec/rMETAshell

Navigate to the rMETAshell directory:

cd rMETAshell

Run the script with the desired options:

./rMETAshell [OPTIONS] <REVERSE_SHELL_COMMAND> <filename> <URL>

Replace [OPTIONS], <REVERSE_SHELL_COMMAND>, <filename>, and <URL> with the appropriate values. For more details, use the -h or --help option.

Follow the prompts to select an execution method based on the file format. Warning: Ethical and Responsible Use Only rMETAshell is intended for legitimate and ethical purposes, such as penetration testing, cybersecurity assessments, and educational use. Unauthorized use of this tool for malicious activities is strictly prohibited and may have serious legal consequences. Ensure that you have proper authorization and adhere to all applicable laws and regulations before using rMETAshell.

License

This project is licensed under the AGPL-3.0 license.

rmetapy's People

Contributors

git5loxosec avatar cybercoral avatar

Stargazers

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