2008-09-15 19:38:50 +00:00
|
|
|
##
|
2010-04-30 08:40:19 +00:00
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
2008-09-15 19:38:50 +00:00
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
2012-02-21 01:40:50 +00:00
|
|
|
# web site for more information on licensing and terms of use.
|
|
|
|
# http://metasploit.com/
|
2008-09-15 19:38:50 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/payload/generic'
|
|
|
|
|
|
|
|
|
2008-10-02 05:23:59 +00:00
|
|
|
module Metasploit3
|
2008-09-15 19:38:50 +00:00
|
|
|
|
|
|
|
include Msf::Payload::Single
|
|
|
|
|
|
|
|
def initialize(info = {})
|
|
|
|
super(merge_info(info,
|
|
|
|
'Name' => 'Generic x86 Debug Trap',
|
|
|
|
'Description' => 'Generate a debug trap in the target process',
|
2011-12-29 17:27:10 +00:00
|
|
|
'Author' => 'robert <robertmetasploit[at]gmail.com>',
|
2008-09-15 19:38:50 +00:00
|
|
|
'Platform' => [ 'win', 'linux', 'bsd', 'solaris', 'bsdi', 'osx' ],
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Arch' => ARCH_X86,
|
2010-04-30 08:40:19 +00:00
|
|
|
'Payload' =>
|
2008-09-15 19:38:50 +00:00
|
|
|
{
|
2010-04-30 08:40:19 +00:00
|
|
|
'Payload' =>
|
2008-09-15 19:38:50 +00:00
|
|
|
"\xcc"
|
|
|
|
}
|
|
|
|
))
|
|
|
|
end
|
|
|
|
|
2012-03-18 05:07:27 +00:00
|
|
|
end
|