Add deprecation warning to msfcli, 6 months

See #3802
This commit is contained in:
Tod Beardsley 2014-12-18 09:39:50 -06:00
parent dcf23172be
commit 60099d42cf
No known key found for this signature in database
GPG Key ID: BD63D0A3EA19CAAC
1 changed files with 7 additions and 0 deletions

7
msfcli
View File

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