You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
#include<stdio.h>#include<stdlib.h>#include<string.h>#include<net/if.h>#include<pcap.h>#include<unistd.h>#include<ifaddrs.h>#include<arpa/inet.h>#include<sys/types.h>#include<sys/socket.h>#include<netinet/in.h>// Go to this part of the file and change your port-range, if you want!#definePORT_START 1#definePORT_END 1204#definePORT 1335
Usage
┌───────┬───────────────────────────────────────┬───────────────┐│ Flags │ Description │ Usage Example │├───────┼───────────────────────────────────────┼───────────────┤│ -h │ Displays the available flags │ -h ││ -i │ Displays the available interfaces │ -i ││ -m │ Displays the network mask │ -m ││ -s │ Starts a packet sniffer │ -s ││ -b │ Starts a bind-shell │ -b ││ -t │ Starts a TCP server │ -t 127.0.0.1 ││ -p │ Does a port scan against the given IP │ -p 127.0.0.1 │└───────┴───────────────────────────────────────┴───────────────┘
Credits
https://github.com/0x537
Contributions 🎉
All contributions are accepted, simply open an Issue / Pull request.
About
k1t is a network utility, that contains several tools, including a packet-sniffer. To use the packet-sniffer, make sure you're root.