From 3fa760bc6a1c4eb803af05f9179ecc4935fa5b52 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Tue, 17 May 2005 04:22:42 +0000 Subject: [PATCH] making code smaller is what we do git-svn-id: file:///home/svn/incoming/trunk@2491 4d416f70-5f16-0410-b530-b9f4589650da --- msfcli | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msfcli b/msfcli index f8318baf66..20dc03aac1 100755 --- a/msfcli +++ b/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 = Msf::Encoders::Generic::IA32::JmpCallAdditive.new +puts "#{encoder.author_to_s}" +puts "#{encoder.arch_to_s}" + begin encoded = encoder.encode("\xcc\x90\x90\x90ABCDEFGHIJKLMNOPQRSTUVWXYZ", "\x87") rescue Msf::Encoding::BadcharException => detail