Cross compile example

Kali Linux has a Windows cross-compiler, which we can use for compiling windows written C exploits,called mingw

Compiling with mingw

i686-w64-mingw32-gcc 646-fixed.c -lws2_32 -o 646.exe

wine 646.exe 10.11.1.35

Last updated