meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| soc:irt:playbooks:windows_disk [2026/06/16 13:35] – titannet | soc:irt:playbooks:windows_disk [2026/06/16 14:45] (current) – titannet | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| # -p has ' | # -p has ' | ||
| # new tab or crtl-z | # new tab or crtl-z | ||
| - | DISK_C=< | + | DISK_C=< |
| </ | </ | ||
| Line 50: | Line 50: | ||
| #psort.py -o json_line -w / | #psort.py -o json_line -w / | ||
| + | |||
| + | cp output/ | ||
| + | cd tools/ | ||
| + | docker compose up -d | ||
| + | # -> localhost: | ||
| </ | </ | ||
| Line 68: | Line 73: | ||
| # dissect | # dissect | ||
| - | target-query -f hostname, | + | target-query -f hostname, |
| - | target-query -j -f services | + | # much more useful for queries on multiple disks at once |
| + | |||
| + | target-query -j -f services $E | jq -r ' | ||
| # JSON output → jq | # JSON output → jq | ||
| target-query --list | grep -iE ' | target-query --list | grep -iE ' | ||
| </ | </ | ||