Page 1 of 1

AHK and WinPCap

Posted: 08 Nov 2015, 13:52
by Paul3519
Hi,

I'm trying to capture/analyize IP packets with AHK using WinPCap driver. I want to write a simple stream capture application.
I don't have a clue if it is possible.
Anyone?

EDIT: Moved this topic to Ask for Help. ~ sinkfaze

Re: AHK and WinPCap

Posted: 08 Nov 2015, 20:44
by JoeSchmoe
Holy crap, I'd be very interested in this as well.

Wrappers already exist for many other languages. Perhaps one could be ported to AHK as well:
https://en.wikipedia.org/wiki/Pcap#Wrap ... .2FWinPcap

Most likely it would use DLLcall, but you'd have to investigate winpcap to know for sure.

Re: AHK and WinPCap  Topic is solved

Posted: 09 Nov 2015, 10:46
by Elesar
Not exactly on topic, but related:

https://github.com/chall32/WinCDP

This is a utility written in AutoIT that utilizes tcpdump.exe to sniff out CDP packets for finding which port your system is connected to on a Cisco switch. I use this quite a bit being a Network admin that inherited a network that was not documented very well.