From 60099d42cfc3161fb4a061ae14d9c331acbbbdca Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Thu, 18 Dec 2014 09:39:50 -0600 Subject: [PATCH] Add deprecation warning to msfcli, 6 months See #3802 --- msfcli | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/msfcli b/msfcli index 92ba2932d3..37c64f3c64 100755 --- a/msfcli +++ b/msfcli @@ -6,6 +6,13 @@ # or web-based interface. # +$stderr.puts "[!] ************************************************************************" +$stderr.puts "[!] * The utility msfcli is deprecated! *" +$stderr.puts "[!] * It will be removed on or about 2015-06-18 *" +$stderr.puts "[!] * Please use msfconsole -r or -x instead *" +$stderr.puts "[!] * Details: https://github.com/rapid7/metasploit-framework/pull/3802 *" +$stderr.puts "[!] ************************************************************************" + msfbase = __FILE__ while File.symlink?(msfbase) msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))