In this section we review scan modes supported in the python-nmap module. We will learn how to detect the open ports of a system or network segment, as well as perform advanced operations to collect information about its target and detect vulnerabilities in the FTP service.