Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netpforgery

Forging and sending packets with pcap.

Currently supports:

  • Loopback
  • Ethernet
  • Ipv4
  • Arp (request/reply)

How to use it:

  1. Have Npcap installed on your computer. If you have Wireshark installed you likely already have it.
  2. Add a reference to this project on your app.
  3. Create a PcapModule object: PcapModule module = new PcapModule()
    • m.ListNetworkDevices() returns the list of network devices.
    • module.Open(deviceName) opens a device to send data. Returns a IntPtr referencing the device.
    • module.Send(deviceReference, byte[] packet, int size) sends data down the interface.
    • BinaryConverter and DatagramProvider helps you with creating and converting data structures to bytes.

About

Forging and sending packets with pcap

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages