1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-10-08 23:22:21 +02:00
Files
jc/tests/fixtures/windows/windows-11/route_print.json
Jose E. Rodriguez 3b1af1a9b6 Feat: Introduce net-localgroup net-user and route-print parsers (#602)
* feat(patch): introduce net localgroup, net user, and route print parsers

* fix: fix net user parsing error

* fix: address PR findings

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2025-09-04 14:47:28 -07:00

313 lines
8.0 KiB
JSON

{
"interface_list": [
{
"interface_index": 17,
"mac_address": "24:4b:fe:5b:9b:e6",
"description": "Intel(R) I211 Gigabit Network Connection"
},
{
"interface_index": 20,
"mac_address": "24:4b:fe:5b:9b:e7",
"description": "Realtek PCIe 2.5GbE Family Controller"
},
{
"interface_index": 3,
"mac_address": null,
"description": "OpenVPN Data Channel Offload"
},
{
"interface_index": 7,
"mac_address": "00:ff:4c:ff:b8:68",
"description": "TAP-NordVPN Windows Adapter V9"
},
{
"interface_index": 13,
"mac_address": "a8:7e:ea:36:46:61",
"description": "Microsoft Wi-Fi Direct Virtual Adapter"
},
{
"interface_index": 22,
"mac_address": "aa:7e:ea:36:46:60",
"description": "Microsoft Wi-Fi Direct Virtual Adapter #2"
},
{
"interface_index": 8,
"mac_address": "00:50:56:c0:00:01",
"description": "VMware Virtual Ethernet Adapter for VMnet1"
},
{
"interface_index": 10,
"mac_address": "00:50:56:c0:00:08",
"description": "VMware Virtual Ethernet Adapter for VMnet8"
},
{
"interface_index": 11,
"mac_address": "a8:7e:ea:36:46:60",
"description": "Intel(R) Wi-Fi 6 AX200 160MHz"
},
{
"interface_index": 4,
"mac_address": "a8:7e:ea:36:46:64",
"description": "Bluetooth Device (Personal Area Network)"
},
{
"interface_index": 1,
"mac_address": null,
"description": "Software Loopback Interface 1"
}
],
"ipv4_route_table": {
"active_routes": [
{
"network_destination": "0.0.0.0",
"netmask": "0.0.0.0",
"gateway": "192.168.1.1",
"interface": "192.168.1.169",
"metric": "35"
},
{
"network_destination": "127.0.0.0",
"netmask": "255.0.0.0",
"gateway": "On-link",
"interface": "127.0.0.1",
"metric": "331"
},
{
"network_destination": "127.0.0.1",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "127.0.0.1",
"metric": "331"
},
{
"network_destination": "127.255.255.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "127.0.0.1",
"metric": "331"
},
{
"network_destination": "192.168.1.0",
"netmask": "255.255.255.0",
"gateway": "On-link",
"interface": "192.168.1.169",
"metric": "291"
},
{
"network_destination": "192.168.1.169",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.1.169",
"metric": "291"
},
{
"network_destination": "192.168.1.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.1.169",
"metric": "291"
},
{
"network_destination": "192.168.181.0",
"netmask": "255.255.255.0",
"gateway": "On-link",
"interface": "192.168.181.1",
"metric": "291"
},
{
"network_destination": "192.168.181.1",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.181.1",
"metric": "291"
},
{
"network_destination": "192.168.181.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.181.1",
"metric": "291"
},
{
"network_destination": "192.168.213.0",
"netmask": "255.255.255.0",
"gateway": "On-link",
"interface": "192.168.213.1",
"metric": "291"
},
{
"network_destination": "192.168.213.1",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.213.1",
"metric": "291"
},
{
"network_destination": "192.168.213.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.213.1",
"metric": "291"
},
{
"network_destination": "224.0.0.0",
"netmask": "240.0.0.0",
"gateway": "On-link",
"interface": "127.0.0.1",
"metric": "331"
},
{
"network_destination": "224.0.0.0",
"netmask": "240.0.0.0",
"gateway": "On-link",
"interface": "192.168.181.1",
"metric": "291"
},
{
"network_destination": "224.0.0.0",
"netmask": "240.0.0.0",
"gateway": "On-link",
"interface": "192.168.213.1",
"metric": "291"
},
{
"network_destination": "224.0.0.0",
"netmask": "240.0.0.0",
"gateway": "On-link",
"interface": "192.168.1.169",
"metric": "291"
},
{
"network_destination": "255.255.255.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "127.0.0.1",
"metric": "331"
},
{
"network_destination": "255.255.255.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.181.1",
"metric": "291"
},
{
"network_destination": "255.255.255.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.213.1",
"metric": "291"
},
{
"network_destination": "255.255.255.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.1.169",
"metric": "291"
}
],
"persistent_routes": []
},
"ipv6_route_table": {
"active_routes": [
{
"interface": 1,
"metric": "331",
"network_destination": "::1/128",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fd18:4310:ad04:1::/64",
"gateway": "fe80::4600:49ff:fee1:c6ee"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fd63:cc9c:65eb:3f95::/64",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fd63:cc9c:65eb:3f95:85e:ed3a:ebbf:d3ea/128",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fd63:cc9c:65eb:3f95:3d2f:46d0:6f06:f255/128",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fd63:cc9c:65eb:3f95:57c2:aa:10d8:db08/128",
"gateway": "On-link"
},
{
"interface": 8,
"metric": "291",
"network_destination": "fe80::/64",
"gateway": "On-link"
},
{
"interface": 10,
"metric": "291",
"network_destination": "fe80::/64",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fe80::/64",
"gateway": "On-link"
},
{
"interface": 10,
"metric": "291",
"network_destination": "fe80::4551:bf0d:59dd:a4f0/128",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "fe80::4fae:1380:5a1b:8b6b/128",
"gateway": "On-link"
},
{
"interface": 8,
"metric": "291",
"network_destination": "fe80::f47d:9c7f:69dc:591e/128",
"gateway": "On-link"
},
{
"interface": 1,
"metric": "331",
"network_destination": "ff00::/8",
"gateway": "On-link"
},
{
"interface": 8,
"metric": "291",
"network_destination": "ff00::/8",
"gateway": "On-link"
},
{
"interface": 10,
"metric": "291",
"network_destination": "ff00::/8",
"gateway": "On-link"
},
{
"interface": 11,
"metric": "291",
"network_destination": "ff00::/8",
"gateway": "On-link"
}
],
"persistent_routes": []
}
}