blob: cd6648a0920f153fe17631bd64ae1458d836553c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# System dump script
Dump various system informations into base64 encoded values and print them as json.
# Usage
Run a dump:
> ./sysdump.sh > dump.json
Dump of a remote machine through ssh:
> cat sysdump.sh | ssh user@host /bin/bash
Explore a dump (require `jq`)
> ./sysdump.sh dump.json
|