Skip to content

Commit

Permalink
Update modules/exploits/windows/fileformat/winrar_cve_2023_38831.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Brendan <[email protected]>
  • Loading branch information
xaitax and bwatters-r7 authored Sep 7, 2023
1 parent 51d80b6 commit 4d2277f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit 4d2277f

Please sign in to comment.