Metasploit mailing list archives

Re: What is the output of msfpayload in C format


From: Philip Sanderson <philip.k.sanderson () gmail com>
Date: Tue, 7 Sep 2010 17:42:20 +1000

The shellcodes are used in individual stages.

so with regards to your meterpreter/reverse_tcp, it goes along the following
idea:

- process executes reverse_tcp shellcode. connects to host:port.
- host:port sends next level shellcode to process (such as shellcode to load
meterpreter.dll into remote process)


On Tue, Sep 7, 2010 at 4:13 PM, eski mo <eskimo.ganges () gmail com> wrote:

I think i moved one step ahead , solution to my last query was that
load stage1  then WAIT FOR REPLY FROM SERVER and then load stage2 ....

the code goes likethis :-

////////////
 char stage1[] = " ...code ..";
 char stage2[] = " ...code..";

  int (*func)();
  func = (int (*)()) stage1;

 ////// wait for server to be ready for stage2
 ////// what code will go here???

  int (*func)();
  func = (int (*)()) stage2;

 ///////////

pointers plz guyz....
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

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

Current thread: