Skip to content
forked from lde-batz/ft_nmap

A simple portscanner based on libpcap and libpthread.

Notifications You must be signed in to change notification settings

skuppers/ft_nmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team

Ft_nmap

Ft_nmap is port scanning project for 42 school.

The goal of this project is to familiarize ourself with the libpcap and the libpthread, aswell as common portscanning techniques and important TCP/IP knowledge.

Building

Compile with clang:

$> make CC=clang

Running ft_nmap

As we use raw sockets, we need to be root. You can see a help menu if you provide no argument.

image

A simple command to run a scan is:

sudo ./ft_nmap --ip <enter-ip> --scan SYN --ports 20,21,22,80,443.

image

A different command can be:

sudo ./ft_nmap --ip <enter-ip> --scan CON/ACK/XMAS --ports 20,21,22,80,443 --speedup 2.

image

About

A simple portscanner based on libpcap and libpthread.

Resources

Stars

Watchers

Forks

Languages

  • C 97.1%
  • Makefile 2.9%