Talks PSRP over WinRM via pypsrp, one runspace pool per connection. Each getter sends one PowerShell script that projects cmdlet results onto flat fields and ends in ConvertTo-Json, so the Python side parses JSON, not text. Covers facts, interfaces, IP addresses, ARP, routes and services, plus service start/stop/restart/enable/disable. Service names are validated and quoted as PowerShell verbatim strings, typographic quotes included. Fixtures are synthetic: they pin down the JSON the scripts are designed to emit. tools/harvest.py records the real output from a host. Refs christianmanivong/netork#300
11 lines
517 B
Markdown
11 lines
517 B
Markdown
# Changelog
|
|
|
|
## 0.1.0 — unreleased
|
|
|
|
- PowerShell Remoting transport over WinRM (pypsrp), one runspace pool per connection.
|
|
- `get_facts`, `get_interfaces`, `get_interfaces_ip`, `get_arp_table`, `get_route_to`.
|
|
- `get_services` and `manage_service` (start, stop, restart, enable, disable).
|
|
- Discovery fingerprints: WinRM ports 5985/5986, `Microsoft-HTTPAPI` / `Microsoft-IIS`
|
|
server headers, Windows SNMP `sysDescr`, OpenSSH-for-Windows banner.
|
|
- `tools/harvest.py` to record real script output as test fixtures.
|