docs: adding small comment to call out block api randomization

This commit is contained in:
dledda-r7
2026-04-15 07:46:38 -04:00
parent 1f8bb3b52a
commit b8f8366ff1
+1
View File
@@ -578,6 +578,7 @@ module Msf::Util::EXE::Windows::Common
# This wrapper is responsible for allocating RWX memory, copying the
# target code there, setting an exception handler that calls ExitProcess
# and finally executing the code.
# TODO: We should use the standardized version of block-api here and use randomized IV
def win32_rwx_exec(code)
stub_block = Rex::Payloads::Shuffle.from_graphml_file(
File.join(Msf::Config.install_root, 'data', 'shellcode', 'block_api.x86.graphml'),