Metasploit mailing list archives

writing payloads


From: hdm at metasploit.com (HD Moore)
Date: Thu, 10 Sep 2009 17:09:14 -0500

On Thu, 2009-09-10 at 16:40 -0300, Javier Aguinaga wrote:
Hi everbody, i trying to write a payload with metasploit 3.2 in asm
with the option "Assembly".
 
I do so very simple:
 
xor eax, eax
mov ebx, eax
 
this work with msfpayload (\x3b...). But i don't know how put to name
of payload. For example windows/payloadtest.rb

Give this a shot on 3.3-dev instead of 3.2, we fixed a large number of
issues. The payload you wrote should be accessible as:

msf> use payload/windows/payloadtest

From within msfconsole (same path, minus payload/ for msfpayload)

-HD






Current thread: