Skip to content

Commit 3cc089b

Browse files
committed
Support loading platform specific railgun defs
1 parent d3a759d commit 3cc089b

File tree

15 files changed

+28
-24
lines changed

15 files changed

+28
-24
lines changed

lib/msf/core/post/windows/railgun.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Windows
77
module Railgun
88

99
# Go through each dll and add a corresponding convenience method of the same name
10-
Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Railgun::BUILTIN_DLLS.each do |api|
10+
Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Railgun::BUILTIN_DLLS['windows'].each do |api|
1111
# We will be interpolating within an eval. We exercise due paranoia.
1212
unless api.to_s =~ /^\w+$/
1313
print_error 'Something is seriously wrong with Railgun.BUILTIN_DLLS list'

0 commit comments

Comments
 (0)