pwntester / ysoserial.net

Deserialization payload generator for a variety of .NET formatters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in minifying large data for BinaryFormatter

irsdl opened this issue · comments

There is a bug in Calculate7BitEncodedInt that does not support large data. This can cause issue when minifying BinaryFormatter/LosFormatter payloads.

The affected function needs to be rewritten based on https://referencesource.microsoft.com/#mscorlib/system/io/binarywriter.cs,2daa1d14ff1877bd,references