Kevin-Robertson / InveighZero

.NET IPv4/IPv6 machine-in-the-middle tool for penetration testers
BSD 3-Clause "New" or "Revised" License
790 stars 117 forks source link

Offset error #1

Open barrett092 opened 4 years ago

barrett092 commented 4 years ago

Not sure if this error is even serious as the program still runs but I get this here and there while it's running:

[-] [2020-06-29T11:31:25] Packet sniffing error detected - System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count) at Inveigh.Util.ParseNameQuery(Int32 index, Byte[] nameQuery) in C:\Users\pentester\Downloads\InveighZero-master\InveighZero-master\Inveigh\Util.cs:line 543 at Inveigh.Sniffer.SnifferSpoofer(String ipVersion, String snifferIP, String snifferMAC, String spooferIP, String spooferIPv6, String dnsDomainController, String dnsTTL, String llmnrTTL, String mdnsTTL, String nbnsTTL, String[] dnsTypes, String[] mdnsQuestions, String[] mdnsTypes, String[] nbnsTypes, String dhcpv6DomainSuffix, String[] pcapTCP, String[] pcapUDP) in C:\Users\pentester\Downloads\InveighZero-master\InveighZero-master\Inveigh\Sniffer.cs:line 445

qgrosperrin commented 7 months ago

I have the same. Unexplained for me so far