a2df616bd4
git-svn-id: file:///home/svn/incoming/trunk@3154 4d416f70-5f16-0410-b530-b9f4589650da
36 lines
578 B
Ruby
36 lines
578 B
Ruby
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$',
|
|
'Description' => 'Causes a debugger trap exception through int3',
|
|
'Author' => 'skape',
|
|
'Platform' => 'win',
|
|
'Arch' => ARCH_X86,
|
|
'Payload' =>
|
|
{
|
|
'Payload' => "\xcc"
|
|
}
|
|
))
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|