Automation of Python Implementation for Ethical Hacking Processes (Port Scanning and Vulnerability Detection)

Authors

  • Pramono Pram Universitas Duta Bangsa
  • Fajar Suryani Universitas Duta Bangsa

Keywords:

Port Scanning,Ethical Hacking, Python, Nmap, AutoRecon, System Performance

Abstract

This study aims to analyze the performance of the Python Automated Scanner as an automated port-scanning tool to support ethical hacking processes, and to compare it with two popular tools, namely Nmap and AutoRecon. The testing was conducted on 100 ports within a local network to evaluate scanning time, detection accuracy, false-positive rate, and system efficiency. The results show that the Python Automated Scanner achieved the fastest performance with a scanning time of 5.3 seconds and the highest efficiency value of 1846.98. Nmap recorded the best detection accuracy at 99% with the lowest false-positive rate, while AutoRecon provided the most detailed enumeration results, although it required a longer execution time of 8.5 seconds. Thus, quantitatively, Python demonstrates superiority in terms of speed, whereas qualitatively Nmap and AutoRecon offer broader features and deeper service analysis

Published

2026-01-30