Files
metasploit-gs/documentation/samples/modules/payloads/singles/sample.rb
T

35 lines
805 B
Ruby
Raw Normal View History

2010-05-03 17:13:09 +00:00
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
2012-10-08 21:29:55 -05:00
# web site for more information on licensing and terms of use.
# http://metasploit.com/
2010-05-03 17:13:09 +00:00
##
2005-11-28 23:49:48 +00:00
require 'msf/core'
###
#
# This sample payload is designed to trigger a debugger exception via int3.
#
###
module Metasploit4
2005-11-28 23:49:48 +00:00
2013-09-30 13:47:53 -05:00
include Msf::Payload::Single
2005-11-28 23:49:48 +00:00
2013-09-30 13:47:53 -05:00
def initialize(info = {})
super(update_info(info,
'Name' => 'Debugger Trap',
'Description' => 'Causes a debugger trap exception through int3',
'License' => MSF_LICENSE,
'Author' => 'skape',
'Platform' => 'win',
'Arch' => ARCH_X86,
'Payload' =>
{
'Payload' => "\xcc"
}
))
end
2005-11-28 23:49:48 +00:00
end