Hey,
I am writing some shellcode to exploit a service running on my machine. My goal is to spawn a shell, with system privlieges, and start a telnet service via commandline.
I have the C++/ASM code to acomplish this, my question is how to take the pertianit ASM code and convert it into a char array in C++.
IE:
0e 05 0a ff....blah blah blah
into:
My ASM code comes from MSVC++'s debugger...Code:char payload[] = "\x0e\x05\x0a\xff";
Thanks for any input




Reply With Quote