Skip to content

Commit

Permalink
Add deprecation warning to msfcli, 6 months
Browse files Browse the repository at this point in the history
  • Loading branch information
Tod Beardsley committed Dec 18, 2014
1 parent dcf2317 commit 60099d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions msfcli
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 60099d4

Please sign in to comment.