2007-02-18 00:10:39 +00:00
|
|
|
##
|
2014-10-17 16:47:33 +00:00
|
|
|
# This module requires Metasploit: http://metasploit.com/download
|
2013-10-15 18:50:46 +00:00
|
|
|
# Current source: https://github.com/rapid7/metasploit-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
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
def initialize
|
|
|
|
super(
|
|
|
|
'Name' => 'The "none" Encoder',
|
|
|
|
'Description' => %q{
|
|
|
|
This "encoder" does not transform the payload in any way.
|
|
|
|
},
|
|
|
|
'Author' => 'spoonm',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Arch' => ARCH_ALL,
|
|
|
|
'EncoderType' => Msf::Encoder::Type::Raw)
|
|
|
|
end
|
2005-10-31 19:15:21 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
#
|
|
|
|
# Simply return the buf straight back.
|
|
|
|
#
|
|
|
|
def encode_block(state, buf)
|
|
|
|
buf
|
|
|
|
end
|
2005-10-31 19:15:21 +00:00
|
|
|
|
2010-04-30 08:40:19 +00:00
|
|
|
end
|