A TCP port scanner built in Python

Key features

  • Resolve domain to IP address
  • Specify custom port range
  • Basic input validation
  • Basic exception handling

Room for improvement

  • Improving input validation
  • Improving error handling
  • Allow IPv6 scanning
  • Allow UDP scanning
  • Set custom timeout
  • Improve port discovery format using the likes of tabulate or PrettyTable