1. After you gain an initial shell, what should you do first?
Slow down and learn where you are. Confirm the host is in scope, note user, hostname, OS, network, and controls. This keeps the test safe and guides next steps.
whoami && hostname && ipconfig /all # Windows whoami && hostname && ip a # Linux