HoneyShareLib
The HoneyShare API Client.
Installing
Available in PYPI.
pip install honeyshare
Usage
Initialize HoneyShare with a Key:
from honeyshare import HoneyShare
hs = HoneyShare(key="Your HoneyShare Key"")
The library is organized around the five HoneyShare objects:
hs.Blacklist.ipv4s() // Blacklists of IPs
hs.Blacklist.hostnames() // Blacklists of Hostnames
hs.IPv4.list() // IP list
hs.IPv4(ip).ipv4() // IP's meta data
hs.IPv4(ip).ports() // Ports accessed by IP
hs.IPv4(ip).hostnames() // Hostnames of IP
hs.IPv4(ip).timeseries() // Timeseries of IP
hs.IPv4(ip).timeseries(port) // Timeseries of IP on Port
hs.IPv4(ip).payload(port) // Payload sent by IP on Port
hs.Hostname.list() // Hostname list
hs.Hostname(hostname).hostname() // Hostname's meta data
hs.Hostname(hostname).ipv4() // IPs of Hostname
hs.Port.list() // List of Ports
hs.Port(port).port() // Port's meta data
hs.Port(port).ipv4() // IP's that acceed port
hs.Port(port).ipv4(ip) // IP's meta data on Port
hs.Port(port).payload(ip) // Payload sent by IP on Port
hs.Timeseries.list() // List all connections
Building and Installing Locally
poetry build
pip install --force-reinstall dist/honeyshare-*.whl
Release files for honeyshare 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| honeyshare-1.5.1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| honeyshare-1.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB