Skip to content

Feat/block api iv#74

Merged
smcintyre-r7 merged 2 commits into
rapid7:masterfrom
dledda-r7:feat/block-api-iv
Apr 10, 2026
Merged

Feat/block api iv#74
smcintyre-r7 merged 2 commits into
rapid7:masterfrom
dledda-r7:feat/block-api-iv

Conversation

@dledda-r7
Copy link
Copy Markdown
Contributor

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.
Comment thread lib/rex/text/block_api.rb
@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
Contributor Author

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

@smcintyre-r7 smcintyre-r7 merged commit 87054b9 into rapid7:master Apr 10, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Metasploit Kanban Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants