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-2016/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

144 lines
3.5 KiB
JSON

{
"interface_list": [
{
"interface_index": 2,
"mac_address": "00:0c:29:a1:38:2c",
"description": "Intel(R) 82574L Gigabit Network Connection"
},
{
"interface_index": 1,
"mac_address": null,
"description": "Software Loopback Interface 1"
},
{
"interface_index": 6,
"mac_address": null,
"description": "Microsoft ISATAP Adapter #2"
}
],
"ipv4_route_table": {
"active_routes": [
{
"network_destination": "0.0.0.0",
"netmask": "0.0.0.0",
"gateway": "192.168.22.1",
"interface": "192.168.22.153",
"metric": "281"
},
{
"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.22.0",
"netmask": "255.255.255.0",
"gateway": "On-link",
"interface": "192.168.22.153",
"metric": "281"
},
{
"network_destination": "192.168.22.153",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.22.153",
"metric": "281"
},
{
"network_destination": "192.168.22.255",
"netmask": "255.255.255.255",
"gateway": "On-link",
"interface": "192.168.22.153",
"metric": "281"
},
{
"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.22.153",
"metric": "281"
},
{
"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.22.153",
"metric": "281"
}
],
"persistent_routes": [
{
"network_address": "0.0.0.0",
"netmask": "0.0.0.0",
"gateway_address": "192.168.22.1",
"metric": "Default"
}
]
},
"ipv6_route_table": {
"active_routes": [
{
"interface": 1,
"metric": "331",
"network_destination": "::1/128",
"gateway": "On-link"
},
{
"interface": 2,
"metric": "281",
"network_destination": "fe80::/64",
"gateway": "On-link"
},
{
"interface": 2,
"metric": "281",
"network_destination": "fe80::40c:2f5f:6658:9dc3/128",
"gateway": "On-link"
},
{
"interface": 1,
"metric": "331",
"network_destination": "ff00::/8",
"gateway": "On-link"
},
{
"interface": 2,
"metric": "281",
"network_destination": "ff00::/8",
"gateway": "On-link"
}
],
"persistent_routes": []
}
}