modules/auxiliary/admin/http/wp_easycart_privilege_escalation.rb
Method initialize
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'WordPress WP EasyCart Plugin Privilege Escalation',
Method run
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
print_status("Authenticating with WordPress using #{username}:#{password}...")
cookie = wordpress_login(username, password)
if cookie.nil?
print_error('Failed to authenticate with WordPress')