C # tcp scanner resources

Does anyone know of any .Net library or resources that will help me implement a TCP port scanner?

+3
source share
4 answers

For simple purposes, just try connecting to each port and reporting success / failure without any “tricks”, for example, send only ACK packets, etc. - you will not need anything except System.Netand System.Net.Sockets, create a socket, try connecting to the host, check if you managed to do this. To improve performance, you can create more sockets and use the asynchronous approach (BeginConnect / EndConnect).

+7
source

Pcap.Net .

, .

, , , .

0

Source: https://habr.com/ru/post/1716062/


All Articles