2008-09-15 19:38:50 +00:00
|
|
|
##
|
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
|
2008-09-15 19:38:50 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
2016-03-08 14:02:44 +01:00
|
|
|
module MetasploitModule
|
2008-09-15 19:38:50 +00:00
|
|
|
|
2015-03-09 15:31:04 -05:00
|
|
|
CachedSize = 1
|
|
|
|
|
|
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 11:27:10 -06:00
|
|
|
'Author' => 'robert <robertmetasploit[at]gmail.com>',
|
2013-09-24 12:33:31 -05:00
|
|
|
'Platform' => %w{ bsd bsdi linux osx solaris win },
|
2008-09-15 19:38:50 +00:00
|
|
|
'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 00:07:27 -05:00
|
|
|
end
|