EndOfStreamException caused by spammer (c#/asp.net)
- by maxp
I have a contact page on my site that seems to have been latched on to by a spammer.
The error itself is:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.Web.UI.ObjectStateFormatter.DeserializeIndexedString(SerializerBinaryReader reader, Byte token)
at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
Google turns up little.
I assume they are submitting an invalid viewstate, but the exception has no line number so im stumped.