mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-20 20:37:27 +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 = []
|
@local_paths = []
|
||||||
|
|
||||||
def self.warn_local_path(path)
|
def self.warn_local_path(path)
|
||||||
return if path.include?('.py') || path.include?('.php')
|
|
||||||
unless @local_paths.include?(path)
|
unless @local_paths.include?(path)
|
||||||
STDERR.puts("WARNING: Local file #{path} is being used")
|
STDERR.puts("WARNING: Local file #{path} is being used")
|
||||||
if @local_paths.empty?
|
if @local_paths.empty?
|
||||||
|
Loading…
Reference in New Issue
Block a user