From useful scripts.
To dependable tools.

Advanced Bash. Build a TCP port scanner, make execution predictable, and bring security, systems and network skills together in a tested fleet assessment.

16 lessons + a capstone About 7 hours In-browser labs

Recommended after Bash for Cyber Security, Sysadmins and Network Admins, or equivalent experience with functions, structured data, files and portable assertions. Every lesson remains open.

SHARED PROJECT

Build a TCP port scanner

Start with a reviewed endpoint plan, preserve distinct connection outcomes, and compare observations with expected services.

  • Numeric IPv4 targets and an explicit allowlist
  • Recorded open, refused, timed-out and error observations
  • Injected probes and tests that catch faulty behavior
Download the local Bash TCP scanner

The download runs on Bash 3.2 or later. It previews by default; add --execute for real TCP connections within your authorised scope. Bash reports unsuccessful connections as connect_failed, without claiming every failure is a refused port.

RELIABLE AUTOMATION

Keep the evidence honest

Bound work, preserve unavailable systems and preview changes before applying them.

  • Command arrays, bounded job batches and cleanup traps
  • Retry budgets and plan-bound checkpoints
  • OS/hardware observations and process identity
  • Command options, redacted logs and useful reports

A little further, every lesson.

4 modules · 16 lessons · 1 capstone
01

Build a TCP port scanner

Plan an explicit scope, replace a probe adapter and interpret observed exposure.

4 lessons
01Plan a bounded port scan22 min 02Create a replaceable probe adapter22 min 03Run a complete scan plan22 min 04Explain observed exposure22 min
02

Make execution dependable

Preserve argument boundaries, collect jobs, bound retries and own cleanup.

4 lessons
05Preserve command argument boundaries22 min 06Collect bounded background jobs22 min 07Bound retries by evidence and budget22 min 08Own locks and publish completed output22 min
03

Model systems and changes

Assess simulated fleet facts, process identities and remote job results.

4 lessons
09Assess simulated OS and hardware facts22 min 10Measure process changes by identity22 min 11Preview simulated process stops22 min 12Run explicit simulated remote jobs22 min
04

Package tested tools

Build preview-first commands, redact logs, test adapters and validate checkpoints.

4 lessons
13Design a preview-first command22 min 14Write useful logs without secret fields22 min 15Test a tool against faulty adapters22 min 16Resume only a matching plan22 min
PUT IT ALL TOGETHER

Assess fleet exposure

Your capstone project · about 65 minutes

Open the capstone