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.
An arpspoof program using Sharppcap
License: MIT License
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.
even i had winpcap installed it still says that it is not
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).
Sometimes, two self IP address entries are shown : 0.0.0.0 and the real one
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
For some reason, if the connected network is changed, the CaptureDevice's ip address doesn't update without quitting the application first.
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.
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.
If I disconnect from one network and connect to another, sometimes, IP addresses of my device for both networks shown.
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
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]
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)
************** 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.