Metasploit mailing list archives

Help with POSIX meterpreter


From: Philip Sanderson <philip.k.sanderson () gmail com>
Date: Sun, 29 Aug 2010 19:18:46 +1000

Hello,

I'd like some assistance with adding a payload for the posix meterpreter.

I would like the flow to be as follows:

- Use a standard bind/reverse payload stager. Stage the rtld staging
shellcode.
- rtld staging code (which does mmap() / read() loop, jump to entry point)
- send a specified file

I'm not sure how to go about adding that in :-)

The rtld staging code needs some information from the binary it will send.
See
http://github.com/philip-k-sanderson/metasploit-posix-meterpreter/tree/master/external/source/meterpreter/source/server/rtld/
elf2bin.c
and rtldtest.c

Can anyone volunteer to work out how to do it / add it in ?

- PKS

Attachment: recvrtld.asm
Description:

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: