making code smaller is what we do
git-svn-id: file:///home/svn/incoming/trunk@2491 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
bdda20cb14
commit
3fa760bc6a
3
msfcli
3
msfcli
|
@ -10,6 +10,9 @@ framework.add_log_sink(Msf::Logging::Sinks::Flatfile.new('/tmp/msfcli.log'))
|
||||||
#encoder = framework.encoders.instantiate('gen_ia32_jmp_call_additive')
|
#encoder = framework.encoders.instantiate('gen_ia32_jmp_call_additive')
|
||||||
encoder = Msf::Encoders::Generic::IA32::JmpCallAdditive.new
|
encoder = Msf::Encoders::Generic::IA32::JmpCallAdditive.new
|
||||||
|
|
||||||
|
puts "#{encoder.author_to_s}"
|
||||||
|
puts "#{encoder.arch_to_s}"
|
||||||
|
|
||||||
begin
|
begin
|
||||||
encoded = encoder.encode("\xcc\x90\x90\x90ABCDEFGHIJKLMNOPQRSTUVWXYZ", "\x87")
|
encoded = encoder.encode("\xcc\x90\x90\x90ABCDEFGHIJKLMNOPQRSTUVWXYZ", "\x87")
|
||||||
rescue Msf::Encoding::BadcharException => detail
|
rescue Msf::Encoding::BadcharException => detail
|
||||||
|
|
Loading…
Reference in New Issue