From 050aa7a98c8ec4504c654f81dba2e1b6351c157b Mon Sep 17 00:00:00 2001 From: bcoles Date: Wed, 20 Mar 2019 14:12:47 +0100 Subject: [PATCH] Update modules/exploits/multi/http/cmsms_showtime2_rce.rb Co-Authored-By: fabiocogno --- modules/exploits/multi/http/cmsms_showtime2_rce.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/http/cmsms_showtime2_rce.rb b/modules/exploits/multi/http/cmsms_showtime2_rce.rb index 4a62a0ce39..d19cb06122 100644 --- a/modules/exploits/multi/http/cmsms_showtime2_rce.rb +++ b/modules/exploits/multi/http/cmsms_showtime2_rce.rb @@ -143,7 +143,7 @@ class MetasploitModule < Msf::Exploit::Remote do_login # Upload PHP payload - fname = "#{rand_text_alphanumeric(rand(3..9))}.php" + fname = "#{rand_text_alphanumeric(3..9)}.php" fcontent = "" print_status('Uploading PHP payload.') if Failure::Unknown == upload(fname, fcontent)