Repository navigation
Block api 64 nullbytefree - #17934
helviojunior wants to merge 2 commits into
Conversation
|
Thanks @helviojunior for investigating this and submitting this solution. Assuring no null bytes are present and reducing the size of a payload are always interesting. However, these changes to the block API assembly files won't actually be used by Metasploit as it is now. These source files don't change anything. To have it effectively applied, someone would have to update the GraphML XMLs to pull these changes in. Also, since this would affect many Metasploit payloads, this would require tons of testing against every version of Windows. We discussed this internally and decided it is not worth the effort for such a small gain right now. For these reasons, we are not going to accept this PR. That said, these changes are still valid and we can still include them later if the GraphML XMLs are updated in the future. |
Avoid NULLBYTE
Changes
At this PR I've made 2 changes:
mov eax, dword [rax+0x88]to avoid NULLBYTECommit diff
Original
Modified
Disassembly
Original Disassembly
Modified Disassembly
XOR modification test
Debug test