Parent

Methods

Class/Module Index [+]

Quicksearch

Rex::Exploitation::Omelet::UnitTest

Constants

Klass

Public Instance Methods

test_generate() click to toggle source
# File lib/rex/exploitation/omelet.rb.ut.rb, line 11
def test_generate
        x = Klass.new('win', ARCH_X86)

        om = x.generate("\xcc" * 1024, '', {
                #:eggsize => 31336,       # default: 123
                #:eggtag => "b00",        # default: 00w
                #:searchforward => false, # default: true
                #:reset => true,          # default: false
                #:startreg => "EBP",      # default: none
                :checksum => true        # default: false
        })
        # XXX: TODO: assertions!
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.