A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
Reconnaissance becomes safer and more useful when it is a workflow instead of a pile of commands. Start from declared scope, resolve the target, confirm routing, then gather a small set of service facts. Each step should write output in a predictable place so you can inspect failures without rerunning every earlier action.
Bash is strong at orchestration: it can create directories, call tools, check exit codes, and pass clean inputs to the next stage. It is weaker at doing protocol parsing by itself. Use specialized scanners for discovery and reserve shell logic for selecting targets, normalizing output, and enforcing workflow rules.
Creates an explicit Bash array containing the one declared training target. The useful habit here is to treat the command output as evidence about one system fact, not as a magical diagnosis.
Rate and scope are part of the script design. A loop over 65,000 ports across a /24 can turn a teaching script into a traffic generator. In this course, keep enumeration inside the declared lab range and make the target list explicit rather than deriving an uncontrolled fan-out from user input.
Performs a bounded TCP-connect test to the lab SSH port using Bash’s `/dev/tcp` facility where supported. Read the result in context: the same command can be correct yet insufficient if a permission boundary, alternate configuration, or different backend changes what it reports.
Appends a timestamped audit marker to the workflow log. In a production workflow, save the raw result when the observation contributes to a finding. That keeps later analysis honest and makes troubleshooting reproducible.
A practitioner’s checkpoint: compare the observed behavior with the assumption your script is about to make. If the assumption is broader than the evidence, narrow the rule. If the evidence is incomplete, report the uncertainty instead of converting it into a confident finding.
Lab discipline: stay inside the declared course environment, prefer read-only checks for learning exercises, and preserve the original output of security tools before transforming it.
Finish the lesson once you have worked through the material. This awards ★ 35 XP.