+ 1

Port scanner

Hi guys If i want to make port scaner with python language , what can i do?? Any thing need to importing?? Scan both of { TCP } & { UDP } port's, and scan more than 1024 ports. Like as (NMAP) &( ZENMAP) [=== > Thank you < ===]

1st Apr 2018, 12:09 PM
B4DB0Y
B4DB0Y - avatar
4 Respuestas
0
There is a built in module socket. It has quite a simple syntax and allows to make a simple port scanner if few lines of code.
1st Apr 2018, 12:18 PM
strawdog
strawdog - avatar
0
you mean( import sock) and sockstream??
1st Apr 2018, 12:25 PM
B4DB0Y
B4DB0Y - avatar
0
B4DB0Y I mean import socket Then you must instantiate a socket object an use its connect method
1st Apr 2018, 12:45 PM
strawdog
strawdog - avatar
0
Got it thank you
1st Apr 2018, 12:46 PM
B4DB0Y
B4DB0Y - avatar