Scapy
Scapy is a powerful interactive packet manipulation library written in Python. Scapy is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more.
Python Nmap
Library which helps in using nmap port scanner. It allows to easilly manipulate nmap scan results and will be a perfect tool for systems administrators who want to automatize scanning task and reports. It also supports nmap script outputs.
- Mastering Network Scanning and Reconnaissance with Python and Nmap
- Automating Network Scanning with Python and Nmap
Paramiko
Library that provides tools for SSH (Secure Shell) connectivity. It allows you to automate remote command execution and file transfers and manage SSH sessions.