An open API service indexing awesome lists of open source software.

https://github.com/mauricelambert/netbiosspoof

This package implements a Netbios Spoofer (Netbios, LLMNR, DNS Local).
https://github.com/mauricelambert/netbiosspoof

netbios network pypi-package python3 scapy spoof spoofing

Last synced: about 1 year ago
JSON representation

This package implements a Netbios Spoofer (Netbios, LLMNR, DNS Local).

Awesome Lists containing this project

README

          

![NetbiosSpoof logo](https://mauricelambert.github.io/info/python/security/NetbiosSpoof_small.png "NetbiosSpoof logo")

# NetbiosSpoof

## Description

This package implements a Hostname Spoofer (Netbios, LLMNR and Local DNS).

## Requirements

This package require :
- python3
- python3 Standard Library
- Scapy

## Installation

```bash
pip install NetbiosSpoof
```

## Usages

### Command lines

```bash
python3 -m NetbiosSpoof
python3 NetbiosSpoof.pyz
NetbiosSpoof
NetbiosSpoof --help
NetbiosSpoof -h
NetbiosSpoof -v -i 172.17.0.
```

### Python3

```python
from NetbiosSpoof import NetbiosSpoof
NetbiosSpoof().start()

spoofer = NetbiosSpoof("172.17.0.")
spoofer.start(True)
spoofer.stop()
```

## Attack explained

Recently I made a flow diagram to explain this attack during a talk, I'm sharing with you the flow diagram.

![Hostname spoofing flow diagram](https://mauricelambert.github.io/info/HostnameSpoofing.svg "Hostname spoofing flow diagram")

## Links

- [Github Page](https://github.com/mauricelambert/NetbiosSpoof)
- [Pypi](https://pypi.org/project/NetbiosSpoof/)
- [Documentation](https://mauricelambert.github.io/info/python/security/NetbiosSpoof.html)
- [Executable](https://mauricelambert.github.io/info/python/security/NetbiosSpoof.pyz)

## Help

```text
usage: NetbiosSpoof.pyz [-h] [--iface IFACE] [--verbose]

This script spoofs host names on a network.

optional arguments:
-h, --help show this help message and exit
--iface IFACE, -i IFACE
Part of the IP, MAC or name of the interface
--verbose, -v Mode verbose (print debug message)
```

## Licence

Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).