Skip to content

Commit 60099d4

Browse files
author
Tod Beardsley
committed
Add deprecation warning to msfcli, 6 months
See rapid7#3802
1 parent dcf2317 commit 60099d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

msfcli

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
# or web-based interface.
77
#
88

9+
$stderr.puts "[!] ************************************************************************"
10+
$stderr.puts "[!] * The utility msfcli is deprecated! *"
11+
$stderr.puts "[!] * It will be removed on or about 2015-06-18 *"
12+
$stderr.puts "[!] * Please use msfconsole -r or -x instead *"
13+
$stderr.puts "[!] * Details: https://github.com/rapid7/metasploit-framework/pull/3802 *"
14+
$stderr.puts "[!] ************************************************************************"
15+
916
msfbase = __FILE__
1017
while File.symlink?(msfbase)
1118
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))

0 commit comments

Comments
 (0)