pyasic
Miner Network Range
MinerNetworkRange
is a class used by MinerNetwork
to handle any constructor stings.
The goal is to emulate what is produced by ipaddress.ip_network
by allowing MinerNetwork
to get a list of hosts.
This allows this class to be the MinerNetwork.network
and hence be used for scanning.
A MinerNetwork that takes a range of IP addresses.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ip_range |
Union[str, list]
|
A range of IP addresses to put in the network, or a list of IPs
|
required |
Source code in pyasic/network/net_range.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|