modules/exploits/unix/webapp/xoda_file_upload.rb
Method initialize
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => "XODA 0.4.5 Arbitrary PHP File Upload Vulnerability",
Method exploit
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def exploit
uri = normalize_uri(target_uri.path)
uri << '/' if uri[-1, 1] != '/'
peer = "#{rhost}:#{rport}"