2007-02-18 00:10:39 +00:00
|
|
|
##
|
2007-04-01 21:00:51 +00:00
|
|
|
# $Id$
|
2007-02-18 00:10:39 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
##
|
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
|
|
# Framework web site for more information on licensing and terms of use.
|
2009-04-13 14:33:26 +00:00
|
|
|
# http://metasploit.com/framework/
|
2007-02-18 00:10:39 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
|
2005-10-31 19:15:21 +00:00
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
|
2008-10-02 05:23:59 +00:00
|
|
|
class Metasploit3 < Msf::Encoder
|
2005-10-31 19:15:21 +00:00
|
|
|
|
|
|
|
def initialize
|
|
|
|
super(
|
|
|
|
'Name' => 'The "none" Encoder',
|
|
|
|
'Version' => '$Revision$',
|
|
|
|
'Description' => %q{
|
|
|
|
This "encoder" does not transform the payload in any way.
|
|
|
|
},
|
|
|
|
'Author' => 'spoonm',
|
2006-01-21 22:10:20 +00:00
|
|
|
'License' => MSF_LICENSE,
|
2007-04-01 21:00:51 +00:00
|
|
|
'Arch' => ARCH_ALL,
|
|
|
|
'EncoderType' => Msf::Encoder::Type::Raw)
|
2005-10-31 19:15:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
#
|
|
|
|
# Simply return the buf straight back.
|
|
|
|
#
|
|
|
|
def encode_block(state, buf)
|
|
|
|
buf
|
|
|
|
end
|
|
|
|
|
2008-10-19 21:03:39 +00:00
|
|
|
end
|