Python 3 port scanner | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python 3 port scanner

I need a python 3 script that scans the local network for alive host and checks if those alive hosts have the 9100 port open, only using the socket library. Can someome help me? Thank you very much :D. (i'm sorry for eventual grammar's errors i'm not english)

3rd Dec 2016, 4:35 PM
frephs
frephs - avatar
1 Answer
+ 2
use python-nmap - module for accessing nmap functionality. nmap is a network scanner utility, very popular tool for this purpose.
3rd Dec 2016, 9:28 PM
Demeth
Demeth - avatar