mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-14 17:37:27 +01:00
Resync pymet, remove blacklist
This commit is contained in:
commit
71a7b19848
@ -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?
|
||||
|
@ -743,7 +743,8 @@ def stdapi_sys_process_close(request, response):
|
||||
if not proc_h_id:
|
||||
return ERROR_SUCCESS, response
|
||||
proc_h_id = proc_h_id['value']
|
||||
del meterpreter.processes[proc_h_id]
|
||||
if meterpreter.processes.has_key(proc_h_id):
|
||||
del meterpreter.processes[proc_h_id]
|
||||
return ERROR_SUCCESS, response
|
||||
|
||||
@meterpreter.register_function
|
||||
|
Loading…
Reference in New Issue
Block a user