GithubHelp home page GithubHelp logo

cdes5804 / netcut Goto Github PK

View Code? Open in Web Editor NEW
65.0 2.0 11.0 251 KB

A simple tool to cut people's network with ARP spoofing, written in pure C++

License: GNU General Public License v3.0

Makefile 4.80% C++ 95.20%
cpp arp-spoofing

netcut's Introduction

NetCut โœ‚๏ธ

Introduction

A simple tool to ban people's Internet connection with ARP spoofing.

Note:

  1. This tool is developed and tested on Linux platforms (Ubuntu 20.04, Arch Linux and alpine), currently it has no support for macOS and Windows.
  2. This tool does not perform any advanced attack beyond ARP spoofing. So if your target is aware of the attack, he/she may be able to nullify the tool.
  3. This tool is only effective against targets in the same network.

How to install

  1. Clone the repository on github (https://github.com/cdes5804/NetCut)

  2. cd into the directory and make.

    Peek 2021-06-11 22-52

How to use

  1. After make, run the program with sudo bin/main. sudo is required for performing the attack.

  2. After the program is started, it scans the network for available targets automatically.

  3. Choose the targets by entering their numbers, separated by space if there are many. Easy as that.

    Peek 2021-06-11 22-58
  4. Bam! Wait and see the people start complaining about the Internet.

    Peek 2021-06-11 22-59
  5. To restore their Internet connections, just select them again.

    Peek 2021-06-11 23-01

netcut's People

Contributors

cdes5804 avatar rupansh avatar sukalaper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

netcut's Issues

No such file pistache/endpoint.h when running make.

traceback:

mkdir -p bin/routes/
g++ src/routes/api.cpp -c -o bin/routes/api.o -Wall -Wextra -O3 -std=c++17  -I src/
In file included from src/routes/api.cpp:3:
src/routes/api.hpp:6:10: fatal error: pistache/endpoint.h: No such file or directory
    6 | #include <pistache/endpoint.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:62: bin/routes/api.o] Error 1```

Two interfaces under the same subnet

The current design does not consider the case where the user has multiple interfaces under the same subnet or different subnets but with the same IPs. The behavior is to be tested and possibly fixed.

"make" error

mkdir -p bin/models
g++ src/models/scanner.cpp -c -o bin/models/scanner.o -Wall -Wextra -O2 -std=c++17 -I src/
make: g++: No such file or directory
make: *** [Makefile:17: bin/models/scanner.o] Error 127

problematic wait interval

Currently the wait interval is set to 3ms, which means if the target does not replay within 3ms, it is considered not in the network. This can cause some problems as the response may be late. But extending the interval will result in longer scanning time. Possible solution is to always listening with a thread and add targets as we receive response, instead of waiting for specific target to response.

"make" error

usr:~/NetCut$ make
mkdir -p bin/models
g++ src/models/scanner.cpp -c -o bin/models/scanner.o -Wall -Wextra -O2 -std=c++17 -I src/
make: g++: No such file or directory
make: *** [Makefile:17: bin/models/scanner.o] Error 127

192.168.1.1 Only available target

========================= Net Cut =========================
Select one or more targets by number, separated by space.
Or enter 'q' to quit, 'r' to refresh targets.
green: available targets, select to cut.
red: already cut targets, select to recover.

1) 192.168.1.1 (ac:64:62:64:50:e4)

Targets: 

I can confirm that there are other users on the network.

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.