C code explanation

前端 未结 2 519
谎友^
谎友^ 2020-12-10 20:43

Could anybody help me explaining these lines of code?

char code[] = \"paste your shellcode here\";

int main(int argc, char **argv)
{
   int (*func)();
   fu         


        
2条回答
  •  旧时难觅i
    2020-12-10 21:17

    Have you tried Googling for "paste your shellcode here"? The first second (now that this question is first LOL) result returned is Corelan Team's Exploit writing tutorial part 9: Introduction to Win32 shellcoding where it's all explained:

    shellcode lab

    In a nutshell, it's merely a small utility C application to test shellcode that will be used later on in following parts of the tutorial for this same purpose. The rest is explained in the tutorial.

提交回复
热议问题