Files
metasploit-gs/modules/encoders/generic/none.rb
T

27 lines
638 B
Ruby
Raw Normal View History

##
2017-07-24 06:26:21 -07:00
# This module requires Metasploit: https://metasploit.com/download
2013-10-15 13:50:46 -05:00
# Current source: https://github.com/rapid7/metasploit-framework
##
2016-03-08 14:02:44 +01:00
class MetasploitModule < Msf::Encoder
2005-10-31 19:15:21 +00:00
2013-08-30 16:28:54 -05: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 16:28:54 -05:00
#
# Simply return the buf straight back.
#
def encode_block(state, buf)
buf
end
end