We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c87690 + 1b4d65e commit 8f64994Copy full SHA for 8f64994
modules/encoders/x64/zutto_dekiru.rb
@@ -23,10 +23,10 @@ def initialize
23
'KeyPack' => 'Q<'
24
}
25
)
26
+ @cpu64 = Metasm::X86_64.new
27
end
28
- @cpu64 = Metasm::X86_64.new
29
- def assemble(src, cpu = @cpu64)
+ def assemble(src, cpu: @cpu64)
30
Metasm::Shellcode.assemble(cpu, src).encode_string
31
32
modules/encoders/x86/service.rb
@@ -18,11 +18,11 @@ def initialize
18
'Arch' => ARCH_X86,
19
'License' => MSF_LICENSE,
20
'EncoderType' => Msf::Encoder::Type::Raw
21
- )
+ )
22
+ @cpu32 = Metasm::Ia32.new
- @cpu32 = Metasm::Ia32.new
- def assemble(src, cpu = @cpu32)
+ def assemble(src, cpu: @cpu32)
0 commit comments