Skip to content

Commit 55bb277

Browse files
authored
Merge pull request #20608 from molecula2788/peinject_valid_fix
Add missing datastore argument in the `valid?` function in pe_inject.rb
2 parents 67ff15e + 7d5ad67 commit 55bb277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/payload/windows/pe_inject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def self.assert_compatible(pe, arch)
4444
end
4545
end
4646

47-
def valid?(value, check_empty: nil)
47+
def valid?(value, check_empty: nil, datastore: nil)
4848
return false unless super
4949
return false unless value && File.file?(File.expand_path(value)) # no memory: locations
5050

0 commit comments

Comments
 (0)