Problem Statement
After you gain an initial shell, what should you do first?
Explanation
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.
Code Solution
SolutionRead Only
whoami && hostname && ipconfig /all # Windows whoami && hostname && ip a # Linux
