A simple TCP port scanner written in Python using the built-in socket module.
- Resolve a domain name to its IPv4 address
- Scan ports 1–1024
- Display all open TCP ports
- Handle invalid domain names
Enter a domain name: google.com
The IP address of google.com is 142.250.xxx.xxx
Open ports:
Port 80 is open
Port 443 is open
- Python 3
- socket
MIT