1
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:
Brent Cook 2015-08-25 18:05:54 -05:00
commit 71a7b19848
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
2 changed files with 2 additions and 2 deletions

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?

View File

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