Commit 1657feb9 authored by bobloblaw's avatar bobloblaw
Browse files

Updates compiling-windows-exploits.md

Auto commit by GitBook Editor
parent f97844de
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -2,11 +2,13 @@ Compiling exploits for windows on Linux can be a bit of a hassle.



```
i686-w64-mingw32-gcc exploit.c -o exploit
```

For 32bit



`i686-w64-mingw32-gcc exploit.c -o exploit`

`i686-w64-mingw32-gcc 40564.c -o 40564 -lws2_32`
```
i686-w64-mingw32-gcc 40564.c -o 40564 -lws2_32
```