require 'msf/core'

module Msf
module Payloads
module Singles

###
#
# This sample payload is designed to trigger a debugger exception via int3.
#
###
module Sample

	include Msf::Payload::Single

	def initialize(info = {})
		super(update_info(info,
			'Name'          => 'Debugger Trap',
			'Version'       => '$Revision: 3154 $',
			'Description'   => 'Causes a debugger trap exception through int3',
			'Author'        => 'skape',
			'Platform'      => 'win',
			'Arch'          => ARCH_X86,
			'Payload'       =>
				{
					'Payload' => "\xcc"
				}
			))
	end

end

end 
end 
end
