protofuzz
protofuzz copied to clipboard
Unsupported type: <class 'google.protobuf.pyext._message.ScalarMapContainer'>
Hello there!
I have a message in proto file with map parameter:
message BlahRequest {
enum BlaDataType {
BLA = 0;
BLA1 = 1;
BLA2 = 2;
}
BlaDataType Type = 1;
string Identity = 2;
string UserSid = 3;
string ParametersKey = 4;
map<string, string> Parameters = 5;
bool BlaDataTables = 6;
bool BlaIsBla= 7;
}
I'm trying to generate payloads from this proto file like this:
message_fuzzers = protofuzz.from_file(proto_file)
for obj in message_fuzzers[self.method_name].permute():
do_some()
but I got an error:
Exception has occurred: RuntimeError Unsupported type: <class 'google.protobuf.pyext._message.ScalarMapContainer'>
Am I doing something wrong?