Metadata-Version: 2.1
Name: LocalResolver
Version: 0.0.2
Summary: This package implements local hostname resolver tool with scapy (using netbios and LLMNR query).
Home-page: https://github.com/mauricelambert/LocalResolver
Author: Maurice Lambert
Author-email: mauricelambert434@gmail.com
Maintainer: Maurice Lambert
Maintainer-email: mauricelambert434@gmail.com
License: GPL-3.0 License
Project-URL: Executable, https://mauricelambert.github.io/info/python/code/LocalResolver.pyz
Project-URL: Documentation, https://mauricelambert.github.io/info/python/code/LocalResolver.html
Keywords: Resolve,Hostname,LLMNR,Netbios
Platform: Windows
Platform: Linux
Platform: MacOS
Classifier: Environment :: Console
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt

![LocalResolver logo](https://mauricelambert.github.io/info/python/code/LocalResolver_small.png "LocalResolver logo")

# LocalResolver

## Description

This package implements local hostname resolver tool with scapy (using netbios and LLMNR query).

## Requirements

This package require: 

 - python3
 - python3 Standard Library
 - Scapy

## Installation

```bash
pip install LocalResolver 
```

## Examples

### Command lines

```bash
HostnameResolver -h
HostnameResolver 192.168.1.2
HostnameResolver 192.168.1.3,192.168.1.2,WIN10,HOMEPC,example.com
```

### Python3

```python
from LocalResolver import LocalResolver

localResolver = LocalResolver("192.168.1.45", timeout=3)
hostname = localResolver.resolve_NBTNS()
hostname = localResolver.resolve_LLMNR()
```

## Links

 - [Github Page](https://github.com/mauricelambert/LocalResolver)
 - [Documentation](https://mauricelambert.github.io/info/python/code/LocalResolver.html)
 - [Download as python executable](https://mauricelambert.github.io/info/python/code/LocalResolver.pyz)
 - [Pypi package](https://pypi.org/project/LocalResolver/)

## Licence

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