modules/exploits/multi/http/dotcms_file_upload_rce.rb
Method initialize
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'DotCMS RCE via Arbitrary File Upload.',
Method check
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def check
test_content = Rex::Text.rand_text_alpha(10)
test_file = "#{test_content}.jsp"
test_path = "../../#{test_file}"
uuid = Faker::Internet.uuid