Code Monkey home page Code Monkey logo

mitm.py's Introduction

mitm.py

Tool developed in Python 3 using Scapy for MITM attacks

Project Structure | Installation | Configuring | Examples

๐Ÿ“‚ Project Structure

mitm.py
โ”œโ”€โ”€ include
|   โ”œโ”€โ”€ arppoison.py
|   โ”œโ”€โ”€ ftp_sniff.py
|   โ””โ”€โ”€ http_sniff.py
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ mitm.py

Attacks

  • ARP Poisoning
  • FTP Sniffing
  • HTTP Sniffing
  • DNS Spoofing
  • Captive Portal

โš™๏ธ Installation

To learn how to install the script, see the wiki Installation

โš™๏ธ Configuring

To configure the hosts for DNS Spoofing attacks, you need to change the config/hosts.json, following these instructions:

{
    "kali.ada.": "192.168.1.105",
    "test.root.": "192.168.1.105"
}

Set the key name as the host, and the value as the IP to be redirected. And remember to add the '.' at the end.

๐Ÿ“– Examples

  • Poisoning the ARP and executing DNS Spoofing
python3 mitm.py --arp --dns --gateway 192.168.1.1 --targets 192.168.1.106/192.168.1.104

Remember to change the config/hosts.json file

  • Sniffing all http requests
python3 mitm.py --http -v

All requests will be saved at files directory

  • Sniffing all FTP credentials
python3 mitm.py --ftp -v

All credentials will be saved at files directory

  • Enable Captive Portal
python3 mitm.py --arp --dns --captive --gateway 192.168.1.1 --targets 192.168.1.106

Redirects all requests to your captive portal

</> by ReddyyZ

mitm.py's People

Contributors

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