Reading in packets in dwepcrack

Matthew T.Russotto <[email protected]> Tue, 12 Nov 2002 11:09:19 -0500
Newsgroups gmane.network.wireless.bsd.airtools
Message-ID <[email protected]>
It is possible to significantly reduce the time it takes to read in 
packets in dwepcrack.  Right now the problem is that it includes an 
O(N^2) algorithm with a high constant -- it compares every candidate 
weak IV against every previous candidate IV, using memcmp.  One way to 
fix this (easy, but somewhat memory intensive) is to create a hash 
table 2^24 entries long.  Then you need not enter the "B" loop in 
weakksacrack if the iv has been seen before.  This allows you to remove 
the memcmp (and, incidentally, the goto)