Infosec Institute -
What is a port scanner and how does one work? Learn how easy it is to build your own basic Python port scanner in this walkthrough from Infosec Skills author Keatron Evans. Get your own port scanner up and running in a few minutes, then play around and see what kind of functionality you can add to it.
How to write a Python port scanner
Watch the full walkthrough of building your own port scanner below:
Write a port scanner in Python in 5 minutes | Free Cyber Work Applied series
New episodes of Cyber Work Applied are released every other week. Check out the full collection of free Cyber Work Applied training videos.
Python port scanner script: Demo and walkthrough
The edited transcript of Keatron’s how to make a port scanner in Python walkthrough is provided below. It’s broken into each step Keatron covers in the video, along with the Python port scanner script for you to copy.
Creating a port scanner with Python
(0:00–0:55) Hello, I’m