Skip to content

Feat/block api iv#74

Open
dledda-r7 wants to merge 2 commits intorapid7:masterfrom
dledda-r7:feat/block-api-iv
Open

Feat/block api iv#74
dledda-r7 wants to merge 2 commits intorapid7:masterfrom
dledda-r7:feat/block-api-iv

Conversation

@dledda-r7
Copy link
Copy Markdown

block api with IV

zeroSteiner and others added 2 commits May 21, 2025 08:33
The changes allow an IV to be set for the hashing algorithm and reuses
the hash of the module name as the IV of the function name. This
effetively changes the operation from `hash(mname) + hash(fname)` to
`hash(mname + fname)`. Reusing the hash of the module name as the IV
instead of adding the result makes the shellcode smaller.
@github-project-automation github-project-automation bot moved this from Ready to In Progress in Metasploit Kanban Mar 23, 2026
@smcintyre-r7
Copy link
Copy Markdown
Contributor

I've approved this and it's ready to be merged. Doing so however would mean that the next time rapid7/metasploit-framework bumps the gem, the Block API hashing function would be incompatible until rapid7/metasploit-framework#21085 is merged. If rex-text needs changes between now and then, we'd have an issue. Ideally this PR would be merged and bumped when we're ready to land rapid7/metasploit-framework#21085.

@dledda-r7
Copy link
Copy Markdown
Author

@smcintyre-r7 sorry i didn't saw this comment. would it be better if i reopen this targetting 6.5 instead of master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants