Ticket #224 (new defect)

Opened 4 months ago

Encode a binary string

Reported by: julien Assigned to: hdm
Priority: major Milestone:
Component: framework3 Version:
Keywords: encode binary string bad chars Cc:

Description

During an egg development, I needed to encode a binary string (and to avoid bad chars).

What I was looking for is a function that does exactly the same as what is done with the payload : find an encoder and a key to encode a raw binary string (which is my egg code). I've tried to use the EncodedPayload? with a Payload object (not a module), but it does not work.

Unfortunately, the encode function "are designed to take a payload module as argument, so just need a version that accepts the arch/os/etc instead" (hdm)

Is it possible to have such a function in a future version ?

Thank you very much, for all the work you have done in metasploit :)