Skip to content

Commit 144daaa

Browse files
committed
Land rapid7#4421 - add a deprecation message for msfcli
please make your way to msfconsole
2 parents 80cd04d + 60099d4 commit 144daaa

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)