hashcat / hashcat-utils

Small utilities that are useful in advanced password cracking
MIT License
1.33k stars 353 forks source link

cap2hccapx: add additional check for maximum # of bytes that can be copied #14

Closed philsmd closed 7 years ago

philsmd commented 7 years ago

We should perform this additional bound check to ensure that we never copy more bytes than possible (eapol[256]).

This additional check will eliminate the possibility of a buffer overflow whenever the packets have a length that is too large.

Thanks