What are the latest improvements to the set payload command in Msfconsole
In this issue, the editor will bring you what are the latest improvements on the set payload command in Msfconsole. The article is rich in content and analyzes and describes it from a professional point of view. I hope you can get something after reading this article.
The latest improvement of set payload command in Msfconsole
In order to facilitate the input of users, Msfconsole improves the input of set payload commands. When executing the set payload command, you can use three prefixes: / payload, payload, and /. Alternatively, you can simply specify the attack payload path without using any prefixes. Among them, the four ways you can perform are as follows:
(1) msf5 exploit (windows/smb/ms17_010_eternalblue) > set payload/ payload/windows/x64/meterpreter/reverse_tcp
Payload = > windows/x64/meterpreter/reverse_tcp
(2) msf5 exploit (windows/smb/ms17_010_eternalblue) > set payload payload/windows/x64/meterpreter/reverse_tcp
Payload = > windows/x64/meterpreter/reverse_tcp
(3) msf5 exploit (windows/smb/ms17_010_eternalblue) > set payload / windows/x64/meterpreter/reverse_tcp
Payload = > windows/x64/meterpreter/reverse_tcp
(4) msf5 exploit (windows/smb/ms17_010_eternalblue) > set payload windows/x64/meterpreter/reverse_tcp
Payload = > windows/x64/meterpreter/reverse_tcp
These are the latest improvements of the set payload command in Msfconsole shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.