fix: cross-platform compilation fixes for Arch GCC 15.2 / MinGW toolchains#139
Open
TGJLS wants to merge 2 commits into
Open
fix: cross-platform compilation fixes for Arch GCC 15.2 / MinGW toolchains#139TGJLS wants to merge 2 commits into
TGJLS wants to merge 2 commits into
Conversation
…hains Fixes compilation errors on Arch Linux GCC 15.2.0 with MinGW cross-compilers and ensures the project builds cleanly across Ubuntu, Kali, Arch, and macOS. Also adds a CI workflow and Dockerized build for ongoing cross-platform testing. ## Source fixes - `_include/bofdefs.h`, `SAR-BOF/EdrEnum-BOF/bofdefs.h`: add `<objbase.h>` to fix `BEGIN_INTERFACE`/`IUnknown`/`COINIT_*`/`LPSTREAM` errors on newer GCC - `Creds-BOF/cookie-monster/cookie-monster-bof.c`: add `<objbase.h>` - `Elevation-BOF/potato-dcom/DCOMPotato.cpp`, `Elevation-BOF/uac_sspi/SspiUacBypassBOF.cpp`, `Postex-BOF/ScreenshotBOF/entry.c`, `Postex-BOF/firewallrule/addfirewallrule.c`: add `<objbase.h>` - `SAL-BOF/arp/arp.c`, `ipconfig/ipconfig.c`, `netstat/netstat.c`, `routeprint/routeprint.c`: add `<objbase.h>` - `Execution-BOF/No-Consolation/include/utils.h`: add `<limits.h>` for `LONG_MAX` (removed from implicit includes in GCC 15) - `Creds-BOF/nanodump/`: add missing COM/WinAPI headers; update Makefile for MinGW toolchain compatibility ## CI - `.github/workflows/build.yml`: three jobs — `build-linux` matrix (ubuntu:latest, kalilinux/kali-rolling, archlinux:latest), `build-macos` (macos-14), and `docker-verify` (bare ubuntu-latest, runs `make docker-build`) ## Gitignore - Add `.planning` and `.claude` to `.gitignore` Closes: Adaptix-Framework#129 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The main nanodump.x64.exe and nanodump.x86.exe targets were removed in the compile-fixes commit. These are standalone executables for running nanodump without a C2 beacon — independent of and not required for BOF functionality, but genuinely useful. Restore them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes compilation errors on Arch Linux GCC 15.2.0 with MinGW cross-compilers and ensures the project builds cleanly across Ubuntu, Kali, Arch, and macOS. Also adds a CI workflow and Dockerized build for ongoing cross-platform testing.
Source fixes
_include/bofdefs.h,SAR-BOF/EdrEnum-BOF/bofdefs.h: add<objbase.h>to fixBEGIN_INTERFACE/IUnknown/COINIT_*/LPSTREAMerrors on newer GCCCreds-BOF/cookie-monster/cookie-monster-bof.c: add<objbase.h>Elevation-BOF/potato-dcom/DCOMPotato.cpp,Elevation-BOF/uac_sspi/SspiUacBypassBOF.cpp,Postex-BOF/ScreenshotBOF/entry.c,Postex-BOF/firewallrule/addfirewallrule.c: add<objbase.h>SAL-BOF/arp/arp.c,ipconfig/ipconfig.c,netstat/netstat.c,routeprint/routeprint.c: add<objbase.h>Execution-BOF/No-Consolation/include/utils.h: add<limits.h>forLONG_MAX(removed from implicit includes in GCC 15)Creds-BOF/nanodump/: add missing COM/WinAPI headers; update Makefile for MinGW toolchain compatibility and remove unnecessary .exe buildsCI
.github/workflows/build.yml: three jobs —build-linuxmatrix (ubuntu:latest, kalilinux/kali-rolling, archlinux:latest),build-macos(macos-14), anddocker-verify(bare ubuntu-latest, runsmake docker-build)Gitignore
.planningand.claudeto.gitignoreCloses: #129