1 - Open a terminal and type the following command: pip install pyfiglet datetime
2 - https://encyclopedia.kaspersky.com/glossary/port-scanning/
3 - https://www.fortinet.com/resources/cyberglossary/what-is-port-scan
4 - https://www.paloaltonetworks.com/cyberpedia/what-is-a-port-scan
5 - https://www.checkpoint.com/cyber-hub/network-security/what-is-a-port-scan/
If you want to test the scanner legally, use this page:
1 - ankane/python-timeouts: Timeouts for popular Python packages
https://github.com/ankane/python-timeouts#socket
2 - Python socket connection timeout - Stack Overflow
https://stackoverflow.com/questions/3432102/python-socket-connection-timeout
3 - gethostbyname() function in Python | Pythontic.com
https://pythontic.com/modules/socket/gethostbyname
4 - socket — Low-level networking interface — Python 3.11.3 documentation
https://docs.python.org/3/library/socket.html
5 - python - name 'target' is not defined Feature Selection - Stack Overflow
https://stackoverflow.com/questions/71106959/name-target-is-not-defined-feature-selection
6 - What is wrong with the code?
https://python-forum.io/thread-1090.html
7 -
https://superfastpython.com/threadpoolexecutor-port-scanner/#Scan_a_Range_of_Ports_on_a_Server