Skip to content

Commit 600ffdb

Browse files
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
Co-authored-by: msutovsky-r7 <[email protected]>
1 parent 4fde40a commit 600ffdb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/exploits/windows/fileformat/cve_2025_33053.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ def generate_payload_exe(payload_name, lhost, lport, output_path)
9292
write_exe_file(output_path, exe)
9393
end
9494

95-
def write_exe_file(path, exe)
96-
File.open(path, 'wb') { |f| f.write(exe) }
97-
print_good("Payload successfully written to #{path}")
98-
rescue Errno::EACCES
99-
return_error(path)
100-
end
10195

10296
def write_url_file
10397
content = generate_url_content

0 commit comments

Comments
 (0)