diff --git a/nselib/smb.lua b/nselib/smb.lua index 92ca9f7a8..a2ebfd51a 100644 --- a/nselib/smb.lua +++ b/nselib/smb.lua @@ -839,7 +839,7 @@ function smb_read(smb) -- The NetBIOS header is 24 bits, big endian pos, netbios_length = bin.unpack(">I", result) if(netbios_length == nil) then - return false, "SMB: Malformed packet received" + return false, "SMB: SMB server didn't comply with standards (incorrect data was returned) [1]" end -- Make the length 24 bits netbios_length = bit.band(netbios_length, 0x00FFFFFF) @@ -872,31 +872,31 @@ function smb_read(smb) -- The header is 32 bytes. pos, header = bin.unpack("