feat: change exitfunc_helper to be accessible

This commit is contained in:
dledda-r7
2026-04-15 08:20:20 -04:00
parent b8f8366ff1
commit 2be47dbe9c
+2 -4
View File
@@ -22,7 +22,7 @@ module Msf::Payload::Windows
#
# ROR hash associations for some of the exit technique routines.
def exitfunc_helper(type)
def self.exitfunc_helper(type)
iv = 0 if block_api_iv.nil?
case type
when 'seh'
@@ -36,10 +36,8 @@ module Msf::Payload::Windows
else
return 0
end
end
@@exit_types =
{
nil => exitfunc_helper(nil), # Default to nothing