##
# This file is part of the Metasploit Framework and may be redistributed
# according to the licenses defined in the Authors field below. In the
# case of an unknown or missing license, this file defaults to the same
# license as the core Framework (dual GPLv2 and Artistic). The latest
# version of the Framework can always be obtained from metasploit.com.
##
package Msf::Encoder::None;
use strict;
use base 'Msf::Encoder';
my $info = {
'Name' => 'The "None" Encoder',
'Version' => '$Revision: 1504 $',
'Authors' => [ 'spoonm <ninjatools [at] hush.com>', ],
'Arch' => [ 'x86', 'ppc', 'sparc', 'mips', 'parisc', 'alpha' ],
'OS' => [ ],
'Description' => 'This encoder simply returns the original payload',
'Refs' => [ ],
};
sub new {
my $class = shift;
return($class->SUPER::new({'Info' => $info}, @_));
}
sub EncodePayload {
my $self = shift;
my $rawshell = shift;
my $badChars = shift;
return($rawshell);
}
1;