rapid7/metasploit-framework

View on GitHub
modules/exploits/multi/http/pmwiki_pagelist.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method initialize has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(info={})
    super(update_info(info,
      'Name'           => 'PmWiki pagelist.php Remote PHP Code Injection Exploit',
      'Description'    => %q{
        This module exploits an arbitrary command execution vulnerability
Severity: Minor
Found in modules/exploits/multi/http/pmwiki_pagelist.rb - About 1 hr to fix

    Method exploit has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def exploit
        p = Rex::Text.encode_base64(payload.encoded)
        header = rand_text_alpha_upper(3)
        header_append = rand_text_alpha_upper(4)
    
    
    Severity: Minor
    Found in modules/exploits/multi/http/pmwiki_pagelist.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status