标签: python-2.7 network-programming
我想创建一个命令行python程序,该程序执行与OrganizationAccountAccessRole相同的功能(除了端口将被硬编码),而不使用nmap库。到目前为止,我有:
OrganizationAccountAccessRole
nmap -sS -T 0 <ip> <ports>
如果要执行暗中的nmap扫描,是否必须使用nmap库?我还没有找到其他可以提供帮助的库。