Class: Rex::Exploitation::Omelet::UnitTest
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- Rex::Exploitation::Omelet::UnitTest
- Defined in:
- lib/rex/exploitation/omelet.rb.ut.rb
Constant Summary collapse
- Klass =
Rex::Exploitation::Omelet
Instance Method Summary collapse
Instance Method Details
#test_generate ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/rex/exploitation/omelet.rb.ut.rb', line 13 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 |