Skip to content
/ k1t Public

k1t is a network utility, that contains several tools, including a packet-sniffer. To use the packet-sniffer, make sure you're root.

Notifications You must be signed in to change notification settings

0x537/k1t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


kit - A network utility that has several features.

kit is a network utility, that contains several tools, including a packet-sniffer. To use the packet-sniffer, make sure you're root.

Version

Setup

sudo apt-get install libpcap-dev
gcc -o kit kit.c -lpcap
./kit

Configuring Port-Range

#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!
#define PORT_START 1
#define PORT_END 1204
#define PORT 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.

Releases

No releases published

Packages

No packages published

Languages