1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-05 17:50:11 +02:00
Files
jc/tests/fixtures/windows/windows-xp/ipconfig.out
Jose E. Rodriguez a2e0e6d549 feat: Add Windows ipconfig parser to jc (#596)
* feat: Introduce ipconfig parser

* fix: add parsing support for "connection_specific_dns_suffix_search_list" and windows XP ipv4 addresses, remove dateutil dependency

* fix: introduce unit tests, correct import of datetime

* fix: changed preferred to status to account for other ip statuses, and parsed link local ipv6 prefix length

* fix: compress _parse_header_line and _parse_adapter_line + fix casing in unit test file

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-10-18 14:17:14 -07:00

26 lines
1.1 KiB
Plaintext

Windows IP Configuration
Host Name . . . . . . . . . . . . : DESKTOP-PC4
Primary Dns Suffix . . . . . . . : somecompany.corp
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : somecompany.corp
somecompany.xyz
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 00-0C-29-25-B6-4D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.22.135
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.22.1
DHCP Server . . . . . . . . . . . : 192.168.22.1
DNS Servers . . . . . . . . . . . : 192.168.22.151
Lease Obtained. . . . . . . . . . : Saturday, September 21, 2024 10:31:26 PM
Lease Expires . . . . . . . . . . : Sunday, September 22, 2024 10:31:26 PM