Sunday, February 13, 2011

A simple Syn scanner

I coded a simple Syn scanner in C recently. I can't think of a good name, so I will just call it dearmoScan-0.1 for now. You can download it here.

I only coded it out of interest, and to learn socket programming. It doesn't do much, except send out Syn packets to your target IP and target port(s). It can't capture packets... yet, so you need to run something like tcpdump concurrently to capture replies. (Which can be considered a good thing, since it forces you to learn how to read tcpdump output on the fly.) Anyway, I will add this functionality and implement additional scans in future, if I have the time.

Frankly speaking though, if you need a robust scanner, use nmap, hping3 or scapy.