English | Português
Checkpoint #5 de Coding for security da FIAP
- Objective: Develop a portscannerin Python that makes it possible to scan one or more servers in search of TCP/UDP ports that are open. The program must present the search result on the screen and generate a report in a txt file, in addition to allowing the definition of the port range and identifying the type of protocol corresponding to the service based on the IANA services file.
Contents
Misuse of this program is a crime! Use only in authorized environments and for academic purposes
- João Pedro Zobolli Carnevalli
This program aims to scan a specific target, bringing open ports and their respective services!
This project was carried out in Python 3.10, using the libraries socket, ipaddress, sys, pyfiglet, time, current.futures and datetime
- 1 - install Python
- 2 - install the library scikit-learn
- Open CMD
- Type it
pip install -U scikit-learn
and run it
- 3 - install the library ipaddress
- Open CMD
- Type it
pip install ipaddress
and run it
- 4 - install the library pyfiglet
- Open CMD
- Type it
pip install pyfiglet==0.7
and run it
- 5 - Download the
DoorKnocker0.1
and run it - 6 - Remember to change the root where the report will be created
- Line's 74, 81, 115, 217 and 233.