Files
metasploit-gs/modules/payloads/singles/generic/debug_trap.rb
T
HD Moore 07c838e4e0 Merge patch and module from Robert, adds a x86 int3 payload for debugging, patches for the testsrv
git-svn-id: file:///home/svn/framework3/trunk@5660 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-15 19:38:50 +00:00

45 lines
996 B
Ruby

##
# $Id: shell_bind_tcp.rb 4419 2007-02-18 00:10:39Z hdm $
##
##
# 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.
# http://metasploit.com/projects/Framework/
##
require 'msf/core'
require 'msf/core/payload/generic'
module Msf
module Payloads
module Singles
module Generic
module DebugTrap
include Msf::Payload::Single
def initialize(info = {})
super(merge_info(info,
'Name' => 'Generic x86 Debug Trap',
'Version' => '$Revision: 4419 $',
'Description' => 'Generate a debug trap in the target process',
'Author' => 'robert <robertmetasploit [at] gmail.com>',
'Platform' => [ 'win', 'linux', 'bsd', 'solaris', 'bsdi', 'osx' ],
'License' => MSF_LICENSE,
'Arch' => ARCH_X86,
'Payload' =>
{
'Payload' =>
"\xcc"
}
))
end
end
end end end end