https://github.com/llorephie/rfetch
Utility to retrieve batch remote command execution in JSON
https://github.com/llorephie/rfetch
Last synced: 3 months ago
JSON representation
Utility to retrieve batch remote command execution in JSON
- Host: GitHub
- URL: https://github.com/llorephie/rfetch
- Owner: llorephie
- License: gpl-3.0
- Created: 2018-06-19T06:15:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T06:00:14.000Z (almost 7 years ago)
- Last Synced: 2025-01-22T19:36:51.273Z (5 months ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RFetch
## Get remote execution results and save them (designed as part of monitoring-dash)### Configuration file notes:
1. JSON supports "key":"value" only on one string, so PEM-encoded private key need convertion to one-line encoded PEM. To achieve it with AWK use this:
```awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' decrypted-key.pem```
2. To test WMI query use standart Windows utility ```wbemtest.exe```, default namespace: ```root\CIMV2```