Skip to content

Commit 6885ef8

Browse files
committed
Land rapid7#2123, mutiny_frontend_upload code cleanup
2 parents a1e083b + a1a6aac commit 6885ef8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/exploits/linux/http/mutiny_frontend_upload.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ def exploit_native
161161
elf_filename = "#{rand_text_alpha_lower(8)}.elf"
162162
if upload_file(elf_location, elf_filename, elf)
163163
register_files_for_cleanup("#{elf_location}/#{elf_filename}")
164-
f = ::File.open("/tmp/test.elf", "wb")
165-
f.write(elf)
166-
f.close
167164
else
168165
fail_with(Exploit::Failure::Unknown, "#{@peer} - Payload upload failed")
169166
end

0 commit comments

Comments
 (0)