1
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:
Brent Cook 2015-08-25 18:01:43 -05:00
parent 6037ce1b1c
commit 864e2087a7

View File

@ -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?