CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/payloads/singles/generic/debug_trap.rb
Views: 11766
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
7
module MetasploitModule
8
9
CachedSize = 1
10
11
include Msf::Payload::Single
12
13
def initialize(info = {})
14
super(merge_info(info,
15
'Name' => 'Generic x86 Debug Trap',
16
'Description' => 'Generate a debug trap in the target process',
17
'Author' => 'robert <robertmetasploit[at]gmail.com>',
18
'Platform' => %w{ bsd bsdi linux osx solaris win },
19
'License' => MSF_LICENSE,
20
'Arch' => ARCH_X86,
21
'Payload' =>
22
{
23
'Payload' =>
24
"\xcc"
25
}
26
))
27
end
28
end
29
30