meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| soc:irt:linux:start [2026/06/11 15:13] – created titannet | soc:irt:linux:start [2026/06/11 15:53] (current) – titannet | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Linux ====== | ====== Linux ====== | ||
| + | |||
| + | ===== Live and Disk System ===== | ||
| + | |||
| + | |||
| + | ==== Process Information ==== | ||
| <code bash> | <code bash> | ||
| Line 12: | Line 17: | ||
| / | / | ||
| / | / | ||
| + | |||
| + | # open ports, assume folder / | ||
| + | cat ./net/tcp | awk ' | ||
| + | |||
| + | # local ip's and ports | ||
| + | awk ' | ||
| + | split($2, a, ":" | ||
| + | hex = a[1] | ||
| + | # Extract bytes (IP is little-endian in the file) | ||
| + | b1 = substr(hex, | ||
| + | b3 = substr(hex, | ||
| + | printf " | ||
| + | " | ||
| + | " | ||
| + | }' ./net/tcp | ||
| + | |||
| + | |||
| + | |||
| + | # connected local ip's | ||
| + | cat /net/arp | ||
| + | cat /net/route | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Logs ==== | ||
| + | |||
| + | <code bash> | ||
| + | / | ||
| + | / | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Triage ==== | ||
| + | |||
| + | * [[soc: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Live ===== | ||
| + | |||
| + | |||
| + | ==== Basic System Info ==== | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | timedatectl status | ||
| + | lsmod | ||
| + | iptables-save | ||
| + | mount | ||
| </ | </ | ||