DanMcInerney / net-creds

Sniffs sensitive data from interface or pcap
GNU General Public License v3.0
1.65k stars 432 forks source link

Replaced rdpcap() with PcapReader() for efficiency when parsing a Pcap #12

Closed byt3bl33d3r closed 8 years ago

byt3bl33d3r commented 8 years ago

heya! This will replace therdpcap() function with PcapReader(), the benefit is that PcapReader() reads a single packet at a time as supposed to rdpcap() which shoves the whole pcap into memory!

HUGE speed improvement!