From d8da4700ea9809db611369ba1909fedfc039daac Mon Sep 17 00:00:00 2001 From: sinn3r Date: Mon, 8 Dec 2014 10:49:12 -0600 Subject: [PATCH] Deprecate msfpayload and msfencode See #4326, but it does not close it. --- msfencode | 6 ++++++ msfpayload | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/msfencode b/msfencode index 0180b2a080..ed9963adf6 100755 --- a/msfencode +++ b/msfencode @@ -5,6 +5,12 @@ # $Revision$ # +$stderr.puts "[!] ************************************************************************" +$stderr.puts "[!] * The utility msfencode is deprecated! *" +$stderr.puts "[!] * It will be removed on or about 2015-06-08 *" +$stderr.puts "[!] * Please use msfvenom instead *" +$stderr.puts "[!] ************************************************************************" + msfbase = __FILE__ while File.symlink?(msfbase) msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase)) diff --git a/msfpayload b/msfpayload index 00d114ffda..ba59d7fb46 100755 --- a/msfpayload +++ b/msfpayload @@ -5,6 +5,12 @@ # $Revision$ # +$stderr.puts "[!] ************************************************************************" +$stderr.puts "[!] * The utility msfpayload is deprecated! *" +$stderr.puts "[!] * It will be removed on or about 2015-06-08 *" +$stderr.puts "[!] * Please use msfvenom instead *" +$stderr.puts "[!] ************************************************************************" + msfbase = __FILE__ while File.symlink?(msfbase) msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))