payload/r.rb and UUID update

bug/bundler_fix
RageLtMan 2017-08-19 06:37:09 -04:00
parent d76616e8e8
commit 0145fc3972
2 changed files with 18 additions and 2 deletions

14
lib/msf/core/payload/r.rb Normal file
View File

@ -0,0 +1,14 @@
# -*- coding: binary -*-
require 'msf/core'
module Msf::Payload::R
def initialize(info = {})
super(info)
end
def prepends(buf)
buf
end
end

View File

@ -42,7 +42,8 @@ class Msf::Payload::UUID
23 => ARCH_ZARCH, 23 => ARCH_ZARCH,
24 => ARCH_AARCH64, 24 => ARCH_AARCH64,
25 => ARCH_MIPS64, 25 => ARCH_MIPS64,
26 => ARCH_PPC64LE 26 => ARCH_PPC64LE,
27 => ARCH_R
} }
Platforms = { Platforms = {
@ -69,7 +70,8 @@ class Msf::Payload::UUID
20 => 'js', 20 => 'js',
21 => 'python', 21 => 'python',
22 => 'nodejs', 22 => 'nodejs',
23 => 'firefox' 23 => 'firefox',
24 => 'r'
} }
# The raw length of the UUID structure # The raw length of the UUID structure