modules/exploits/linux/http/symantec_web_gateway_file_upload.rb
Method initialize
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => "Symantec Web Gateway 5.0.2.8 Arbitrary PHP File Upload Vulnerability",
Method exploit
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def exploit
uri = target_uri.path
uri << '/' if uri[-1, 1] != '/'
peer = "#{rhost}:#{rport}"