Build a simple port scanner in Python. You'll use sockets, threading, SQLite, OOP with inheritance, and unit testing.
- Fork this repo to your own GitHub account
- Rename the template files with your student ID:
assignment2_studentID.py→assignment2_YOURID.pytest_assignment2_studentID.py→test_assignment2_YOURID.py
- Clone your fork and create a branch called
feature_port_scanner - Do all your work on that branch
- When done, merge into
masterand push
| File | What it is |
|---|---|
assignment2_studentID.py |
Starter code — fill in the TODOs |
test_assignment2_studentID.py |
Starter test file — fill in the 4 tests |
Assignment 2 - Port Scanner Instructions.html |
Full instructions and grading rubric |
diagram_101201301.png |
Example diagram for Q5 (yours will be diagram_YOURID.png) |
AI Usage Declaration.docx |
Required — submit this with your repo link |
- Submit your GitHub repo link (clickable) + the AI Usage Declaration on D2L
- No zip files, no screenshots — just the link
- Make sure everything is pushed before you submit
Only scan 127.0.0.1 (your own machine). Scanning other machines without permission is illegal.
Read the full instructions in Assignment 2 - Port Scanner Instructions.html — it has everything you need including the rubric.