-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
37 lines (30 loc) · 1.17 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LegitHost is a tool for exploiting weaknesses in various multicast and
broadcast The tool has a modular architecture and supports currently: ARP,
LLMNR and NetBios Name Service protocols. Simply put, legitHost is a legit
host.
As an example, the ARP module listens for ARP Requests and depending on
the user
defined configuration in modules/arp.cfg replies with an ARP response
containing an IP Address set by the user.
Each module has an own configuration file, a condition method that returns True
or False depending on wether it should handle the received packet and an action
method that is run on the packet (e.g Send a reply) if condition returns True.
Example usage:
Help:
$python legithost.py -h
Run on interface eth0:
$sudo python legithost.py -i eth0 -d 1
Debug level 2 + Listen mode (won't send responses):
$sudo python legithost.py -i eth0 -d 2 -l
Use only LMNR and NBNS modules:
$sudo python legithost.py -i wlan0 -m llmnr nbns
TODO:
New protocols: (MDNS, SSDP etc,.)
Suggestions are welcome
Dependencies:
pylibpcap: Traffic listener.
dpkt: Packet parsing/crafting.
Author:
Hani Benhabiles (kroosec()gmail()com)
License:
GPLv2