Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/payloads/singles/generic/tight_loop.rb
21540 views
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
module MetasploitModule
7
CachedSize = 2
8
9
include Msf::Payload::Single
10
11
def initialize(info = {})
12
super(
13
merge_info(
14
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
'Payload' => "\xeb\xfe" # jump to self
23
}
24
)
25
)
26
end
27
end
28
29