Giter Club home page Giter Club logo

arpie's Introduction

ARP/DNS Poisoning and WPAD Exploitation Script

ARPie

Note

  • Currently does not forward traffic which disconnects the attacked host from internet.
  • Packets will be restored when the attack is stopped.

Overview

This script performs ARP poisoning, DNS spoofing, and WPAD exploitation. It is designed for network penetration testing and security analysis.

Features

  • ARP Poisoning: Redirect network traffic by spoofing ARP messages.
  • DNS Spoofing: Intercept and modify DNS queries to redirect traffic.
  • WPAD Exploitation: Serve a malicious WPAD file to configure a proxy server for the victim.

Requirements

  • Python 3.x
  • Scapy
  • Impacket
  • Colorama

Installation

  1. Install required Python packages:
    pip install scapy impacket colorama

Usage

python arp.py -i <interface> --target-ip <target_ip> [options]

Arguments

  • -i, --interface: Network interface to use (required)
  • --target-ip: Target IP address (required)
  • --target-mac: Target MAC address (optional, will be resolved if not provided)
  • --gateway-ip: Gateway IP address (optional, will be resolved if not provided)
  • --gateway-mac: Gateway MAC address (optional, will be resolved if not provided)
  • --attacker-ip: Attacker's IP address (optional, will be resolved if not provided)
  • --proxy-port: Port for the proxy server (optional)
  • --domain: Domain to spoof (optional, e.g., domain.local)

Example

# Auto
sudo python3 arp.py -i eth0 --target-ip 192.168.1.100 --proxy-port 8080 --domain example.com
# Manual (most trustable method)
sudo python3 arp.py --target-ip 192.168.100.183 --target-mac 52:54:00:9f:47:11 --gateway-ip 192.168.100.153 --gateway-mac 52:54:00:b0:a1:55 --attacker-ip 192.168.100.131 --domain wintastic.local -i eth0

Screenshots

Computer take over

image

User take over

image

By following the instructions above, you can utilize this script for network security testing and analysis. Ensure you have permission to test the network you are targeting.

arpie's People

Contributors

mverschu avatar

Stargazers

Mirabis avatar vonzy avatar

Watchers

 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.