modules/auxiliary/admin/http/tomcat_ghostcat.rb
Method initialize
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Apache Tomcat AJP File Read',
Method read_remote_file
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def read_remote_file
ajp_forward_request = ApacheJP::ApacheJPForwardRequest.new(
http_method: ApacheJP::ApacheJPForwardRequest::HTTP_METHOD_GET,
req_uri: '/index.txt',
remote_addr: '127.0.0.1',