modules/exploits/linux/http/vmware_vrops_mgr_ssrf_rce.rb
Method initialize
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'VMware vRealize Operations (vROps) Manager SSRF RCE',
Method write_jsp_payload
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def write_jsp_payload
jsp_path = "/usr/lib/vmware-casa/casa-webapp/webapps/casa/#{jsp_filename}"
print_status('Writing JSP payload')
vprint_status(jsp_path)