GithubHelp home page GithubHelp logo

globalpolicy / csarp-netcut Goto Github PK

View Code? Open in Web Editor NEW
112.0 5.0 46.0 1.57 MB

An arpspoof program using Sharppcap

License: MIT License

C# 100.00%
arp arp-spoofing arp-poisoning arpspoof arp-spoof-attack arp-request sharppcap lan admin network-admin network netcut c-sharp network-monitoring scanner

csarp-netcut's Introduction

CSArp-Netcut

An arpspoof program

Can be used to "cut-off" other LAN devices by flooding the gateway device with targetted "Unicast" spoofed ARP requests. Note that WinPCap is required to be installed for SharpPCap to function.

csarp-netcut's People

Contributors

awaisking avatar globalpolicy 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  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  avatar  avatar  avatar

csarp-netcut's Issues

Not showing all devices

Maybe there's not enough time between reaching the last ip i.e. x.x.x.255 which ends the packet capture and the arrival of the last response from connected devices.

WinPcap

even i had winpcap installed it still says that it is not

Error when ending spoofing

I get the errors:

Spoofing thread @ DisconnectReconnect.Disconnect() for 8C859049DFF3 @ 10.0.0.27 is terminating.
The thread 0xa3c has exited with code 0 (0x0).

0.0.0.0

Sometimes, two self IP address entries are shown : 0.0.0.0 and the real one

Reconnecting To Wi-Fi Stops Arp Spoof

its kinda bad that if the opponent turns their wifi on and off they gain access to network again, maybe you can use File.WriteAllText and make a saving method that it saves the disconnected people and when they disappear and they come back it automatically disconnects them back

myipaddress not updating

For some reason, if the connected network is changed, the CaptureDevice's ip address doesn't update without quitting the application first.

More-Features

I love it, especially the Log..

but you need to add some features like limiting connections instead of disconnecting them by limiting the amount of arp requests sent to client.

Also when you refresh it basically starts from the beginning and you need to cut clients again.

Throwing null exception of ip address when spoofing

hello, i was clone this project and open the sln file with visual studio, it was running well, no error, no warning. but after select the interface of internet (wifi) and refresh, i got a runtime exception problem at line 229 on GetClientList.cs that say my ip address was null.

Multiple IPs for same MAC

If I disconnect from one network and connect to another, sometimes, IP addresses of my device for both networks shown.

Error when spoof ip

First of all this is awesome app!
But, there are some errors when i start spoofing.

The error i get:

Spoofing target 8C859049DFF3 @ 10.0.0.27
Added 10.0.0.28 @ 4C:66:41:56:38:60 from background scan!
Exception thrown: 'System.IndexOutOfRangeException' in CSArp.exe
Exception in ApplicationSettingsClass.GetMACtoClientNameDictionary()
Index was outside the bounds of the array.

One more bug, the app block all the networks even those i not targeted

GetClientList.GetAllClients() inside new Thread(()=>{})

8/2/2020 6:50:26 PM : Refresh client list
8/2/2020 6:50:27 PM : Exception at GetClientList.GetAllClients() inside new Thread(()=>{}) while sending packets probably because old thread was still running while capturedevice was closed due to subsequent refresh [Family != IPv4, ARP is used for IPv4, NDP for IPv6]
8/2/2020 6:50:28 PM : Exception at GetClientList.BackgroundScanStart() inside new Thread(()=>{}) while sending packets [Family != IPv4, ARP is used for IPv4, NDP for IPv6]

Not Working When Npcap Installed

Best alternative to WinPcap โ†’ Npcap
Contains all supports for WinPcap. WinPcap is backdated & Npcap is the successor of that.

The error is :โ†’

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: item
at System.Windows.Forms.ComboBox.ObjectCollection.AddInternal(Object item)
at System.Windows.Forms.ComboBox.ObjectCollection.AddRangeInternal(IList items)
at System.Windows.Forms.ComboBox.ObjectCollection.AddRange(Object[] items)
at CSArp.Controller.PopulateInterfaces()
at CSArp.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

CSArp
Assembly Version: 1.4.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/BL4CKH47H4CK3R/Downloads/Programs/CSArp.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

SharpPcap
Assembly Version: 4.2.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/BL4CKH47H4CK3R/Downloads/Programs/CSArp.exe

PacketDotNet
Assembly Version: 0.13.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/BL4CKH47H4CK3R/Downloads/Programs/CSArp.exe

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

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.