简体   繁体   中英

C into shell code

I'm trying to get a shellcode using C. I cannot just take .obj file due to the large amount of nulls. I've also tried "Shellcode Compiler", but it hasn't helped me.

Are there any other projects which can help me, or any ways to create a useable shell code from C? My simple C code:

#include <Windows.h>

int main()
{
    WinExec("SomeFile", 0);
}

Seeing that c is a compiled language and not interpreted. I am sure you will get better results from converting the binary to shellcode.

Check out GitHub vulnwarex/bin2sc .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM