Lesson 53: Vulnerability Scanner Simulator

Simulates scanning your own devices for weak passwords, open ports, and outdated software.

targets = ["localhost"]
for t in targets:
  ports = [21, 22, 80]
  for p in ports:
    print(f"Scanning {t} port {p} ... safe simulation")
  passwords = ["123456", "admin"]
  for pw in passwords:
    print(f"Checked password {pw} on {t} ... safe simulation")
Next Lesson →