i686-w64-mingw32-gcc $exploit.c -o $binary.exe [-lws2_32]
i686-w64-mingw32-g++ $exploit.cpp -o $binary.exe [-lws2_32]
x86_64-w64-mingw32-gcc -o main64.exe main.c
x86_64-w64-mingw32-g++ -o main32.exe main.c
Sometimes you just need to use VS to compile
gcc exp.c -o exp -m32
gcc exp.c -o exp
Last updated 2 years ago