rapid7/metasploit-framework

View on GitHub
modules/exploits/windows/fileformat/ms_visual_basic_vbp.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Microsoft Visual Basic VBP Buffer Overflow',
      'Description'    => %q{
        This module exploits a stack buffer overflow in Microsoft Visual
Severity: Minor
Found in modules/exploits/windows/fileformat/ms_visual_basic_vbp.rb - About 1 hr to fix

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

      def exploit
    
        sploit =  rand_text_alpha_upper(496) + [target.ret].pack('V')
        sploit << rand_text_alpha_upper(12) + [target['Scratch']].pack('V')
        sploit << make_nops(24) + payload.encoded
    Severity: Minor
    Found in modules/exploits/windows/fileformat/ms_visual_basic_vbp.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status