Module: Msf::Payload::Linux::Aarch64::Prepends
- Includes:
- Prepends
- Defined in:
- lib/msf/core/payload/linux/aarch64/prepends.rb
Overview
Instance Method Summary
collapse
Methods included from Prepends
#apply_prepends, #initialize, #register_prepend_options
Instance Method Details
#appends_map ⇒ Object
39
40
41
|
# File 'lib/msf/core/payload/linux/aarch64/prepends.rb', line 39
def appends_map
{}
end
|
#appends_order ⇒ Object
11
12
13
|
# File 'lib/msf/core/payload/linux/aarch64/prepends.rb', line 11
def appends_order
%w[]
end
|
#prepends_map ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/msf/core/payload/linux/aarch64/prepends.rb', line 15
def prepends_map
{
'PrependSetuid' => "\xe0\x03\x1f\xaa" + "\x48\x12\x80\xd2" + "\x01\x00\x00\xd4",
'PrependSetreuid' => "\xe0\x03\x1f\xaa" + "\xe1\x03\x1f\xaa" + "\x28\x12\x80\xd2" + "\x01\x00\x00\xd4",
'PrependSetresuid' => "\xe0\x03\x1f\xaa" + "\xe1\x03\x1f\xaa" + "\xe2\x03\x1f\xaa" + "\x68\x12\x80\xd2" + "\x01\x00\x00\xd4" }
end
|
#prepends_order ⇒ Object
7
8
9
|
# File 'lib/msf/core/payload/linux/aarch64/prepends.rb', line 7
def prepends_order
%w[PrependSetresuid PrependSetreuid PrependSetuid]
end
|