Skip to content

Gcc Compile Windows Executable in Linux

TheGetch edited this page May 14, 2021 · 2 revisions

Gcc Compile Windows Executable in Linux

Gcc Compile Windows Executable in Linux

$ sudo apt install mingw-w64
$ x86_64-w64-mingw32-gcc cfile.c -o exefile.exe

Reduce filesize, use -s:

$ x86_64-w64-mingw32-gcc cfile.c -s -o exefile.exe

#gcc

_Sidebar

1. Recon

Ping Sweep

CIDR to IP

2. Enumeration

Services

05. HTTP (80,443,8080,8443,etc.)

3. Exploitation

4. Post Exploiation

5. High Value Information

Hashes

6. Reporting

7. Random Notes/Useful Tidbits

Clone this wiki locally