From cc5770558dbf4412f897d9f2feb16e4899f37e90 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Mon, 11 Aug 2014 19:16:14 +0200 Subject: [PATCH] Remove local payload saving used for debugging --- modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb b/modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb index c9cedf51a8..1504d67375 100644 --- a/modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb +++ b/modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb @@ -122,7 +122,6 @@ class Metasploit3 < Msf::Exploit::Remote file_name = "/tmp/#{rand_text_alphanumeric(4+rand(4))}" - File.open(file_name, 'wb') { |f| f.write(data) } unix_upload(file_name, data) register_file_for_cleanup(file_name)