modules/exploits/multi/http/cve_2023_38836_boidcms.rb
Method initialize
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'BoidCMS Command Injection',
Method cms_login?
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def cms_login?(login_token)
vprint_status('Logging into CMS')
cms_password = datastore['CMS_PASSWORD']
cms_username = datastore['CMS_USERNAME']
vars_form_data =
Method upload_php?
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def upload_php?(login_token, shell_filename)
vprint_status("Uploading PHP file #{shell_filename}")
vars_form_data =
[
{