mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-02 11:36:22 +01:00
remove blacklist on py/php meterpreter warnings
This commit is contained in:
parent
6037ce1b1c
commit
864e2087a7
@ -146,7 +146,6 @@ module MetasploitPayloads
|
||||
@local_paths = []
|
||||
|
||||
def self.warn_local_path(path)
|
||||
return if path.include?('.py') || path.include?('.php')
|
||||
unless @local_paths.include?(path)
|
||||
STDERR.puts("WARNING: Local file #{path} is being used")
|
||||
if @local_paths.empty?
|
||||
|
Loading…
Reference in New Issue
Block a user