Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 535 Bytes

network.md

File metadata and controls

28 lines (20 loc) · 535 Bytes

Network

This documentation provides details about the data that can be faked for Networks.

To retrieve generated/fake data for Networks see the following capabilities:

from socfaker import SocFaker

sc = SocFaker()

print(sc.network.ipv4)
print(sc.network.ipv6)
print(sc.network.get_cidr_range('192.168.1.0/24'))
print(sc.network.hostname)
print(sc.network.netbios)
print(sc.network.port)
print(sc.network.protocol)

Network Class

.. automodule:: socfaker.network
   :members:
   :undoc-members: