Skip to content

Commit 0ebd51d

Browse files
committed
Use native_arch for railgun sizes
1 parent 3b2e5e0 commit 0ebd51d

File tree

1 file changed

+1
-1
lines changed
  • lib/rex/post/meterpreter/extensions/stdapi/railgun

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/extensions/stdapi/railgun/dll.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def add_function(name, return_type, params, windows_name=nil, calling_conv="stdc
119119
def process_function_call(function, args, client)
120120
raise "#{function.params.length} arguments expected. #{args.length} arguments provided." unless args.length == function.params.length
121121

122-
if client.arch == ARCH_X64
122+
if client.native_arch == ARCH_X64
123123
native = 'Q<'
124124
else
125125
native = 'V'

0 commit comments

Comments
 (0)