I'm assuming you're referring to having generated shellcode, is that correct? If so, that is shellcode to be used with an existing exploit, by inserting your code into it, in place of other, existing shellcode, in the POC or example exploit.
Conversely, in some cases, you can also have it generate executables for a given platform. I don't have my metasploit handy, to see what you're working with, to give more detail, right the moment. But basically, you'd need to either do as I mentioned, above, or pick a different exploit, that generates a working executable, and use that payload code with it.
Last edited by hayabusa
on Mon Mar 19, 2012 3:28 pm, edited 1 time in total.
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH