zgrab2/lib
Jeff Cody 2e67991362
SMB: Bounds check slice index before access
The smb library bounds checks for a message size that is too large, but
does not check for a message size that is way too small.  Error out if
the message size is not at least as large as the ProtocolID 4-byte
preamble.

This fixes slice out of bound panics when checking the buffer for the
protID string for certain hosts.

Signed-off-by: Jeff Cody <jcody@censys.io>
2019-06-04 22:26:27 -04:00
..
http merge client/server header list (#134) 2018-06-28 14:46:19 -04:00
mysql don't trigger constant index-out-of-bounds exceptions 2018-10-24 12:58:11 -04:00
output fix comment re PR review 2018-04-26 11:58:08 -04:00
smb SMB: Bounds check slice index before access 2019-06-04 22:26:27 -04:00
ssh Add SSH banner grabbing when userauth enabled 2018-10-20 03:39:24 -04:00