Coder Social home page Coder Social logo

0x537 / k1t Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 11 KB

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

C 100.00%
network network-tools networking networking-application networking-concepts networking-tools networkingtool p packet packet-analyser

k1t's Introduction


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.

k1t's People

Contributors

0x537 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.