42 Commits

Author SHA1 Message Date
kev169 7460a2f00c Merge pull request #18 from Hackndo/patch-1
Fix overflow in BeaconFormatPrintf causing last character truncation
2025-07-21 11:43:25 -05:00
Pixis 545958f2a8 Fix buffer overflow in BeaconFormatPrintf causing last character truncation 2025-07-19 15:40:26 +02:00
kev169 ea20c17fa1 Merge pull request #17 from MEhrn00/fix-unhandled-relocs
Fix relocations potentially being unhandled if the target symbol has a long symbol name
2025-06-12 12:38:02 -05:00
Matt Ehrnschwender 2da5d31901 Fix unhandled long symbol name relocations
Fixes issue where relocations to symbols with long names (> 8 bytes) go
unhandled due to invalid symbol name check
2025-05-20 18:35:24 -04:00
kev169 6f366f09ee Merge pull request #16 from MEhrn00/beacon-arghandling
Add beacon_compatibility argument checks
2025-04-03 09:57:10 -05:00
Matt Ehrnschwender 143dd8416c Add beacon_compatibility argument checks
Includes precondition checks for malformed arguments passed to
beacon_compatibility.c functions
2025-03-20 13:28:02 -04:00
Kevin Haubris 28125d4e6b Fix COFFLOADER_RETURN_VAL_IF for debug builds in mingw 2024-10-31 10:43:55 -05:00
kev169 eb9b16f64d Merge pull request #14 from MEhrn00/precondition-checks
Add precondition checks to RunCOFF
2024-09-24 11:29:47 -05:00
kev169 b5e0bbd021 Merge pull request #13 from MEhrn00/restrict
Use C99 restrict in place of GNU extension for test BOF
2024-09-24 11:11:58 -05:00
Matt Ehrnschwender 6290079773 Add precondition checks to RunCOFF
Include checks for potentially malformed input
2024-09-21 18:09:16 -04:00
Matt Ehrnschwender 8eca447fea Use C99 restrict in place of GNU extension for test BOF
Change '__restrict__' modifier in `printf` to use the C99 keyword or the
MSVC/GNU modifier if compiling with a C++ compiler
2024-09-20 14:46:23 -04:00
kev169 5956e3ec87 Merge pull request #12 from stryker2k2/main
Additional Argument Usage Instructions
2024-09-09 09:15:42 -05:00
Jack Ward 90f2c17494 Additional Argument Usage Instructions 2024-09-06 16:28:23 -05:00
Kevin Haubris 7525640b9b Make sure everything is actually freed 2023-05-15 15:42:35 -05:00
Kevin Haubris 7f49e7cc38 Fix a few leaks, and change how sections values are stored 2023-05-15 15:38:51 -05:00
freefirex eb37e434c5 Merge pull request #11 from trustedsec/relocations
Adds @kev169's work to support RPC call stubs
2023-02-16 11:56:35 -08:00
Christopher Paschen 59ba6615c3 adds in cast for warning 2023-02-16 11:34:16 -08:00
Christopher Paschen 9d15c39ea5 added Kevins work to handle more relocations to support RPC code 2023-02-16 11:22:10 -08:00
kev169 f34623d564 Merge pull request #10 from zeroSteiner/fix/vs2013-builds
Remove the inline compiler directive
2022-12-09 18:59:52 -06:00
Spencer McIntyre ade610103c Remove the inline compiler directive
Apparently VS2013 did not accept the function signature
2022-12-09 12:50:45 -05:00
kev169 6f1b9ab002 Merge pull request #9 from zeroSteiner/fix/i386-relocations
Fix some i386 issues
2022-12-08 15:10:42 -06:00
Spencer McIntyre f6cb5ab616 Fix some i386 issues 2022-12-08 15:18:39 -05:00
kev169 f7751e8e2e Merge pull request #8 from zeroSteiner/fix/debug-relocation-output
Fix relocation debug output
2022-12-08 08:54:26 -06:00
Spencer McIntyre e119103f8d Fix debug relocation debug output 2022-12-07 17:40:20 -05:00
Kevin Haubris f088d02eb3 Added vs support for x86 too 2022-12-07 10:15:39 -06:00
Kevin Haubris adab77631b Should work with VS compiled object files now 2022-12-07 09:52:56 -06:00
Kevin Haubris 5a5a56dfd7 Attempted fix for invoke assembly 2022-11-30 18:47:05 -06:00
kev169 a03af2dc82 Merge pull request #6 from zeroSteiner/feat/add-toWideChar
Add toWideChar
2022-09-24 19:25:27 -05:00
Spencer McIntyre 30af08ba1b Add toWideChar 2022-09-24 15:19:40 -04:00
kev169 24da168356 Merge pull request #5 from zeroSteiner/fix/compiler-warnings
Fix compiler warnings
2022-09-09 11:56:44 -05:00
Spencer McIntyre 61e80977b6 Fix compiler warnings
Fix compiler warnings 4018, 4047, 4244, and 4267
2022-09-09 12:37:13 -04:00
kev169 d69bc130cc Merge pull request #4 from trustedsec/internal_functions
Properly link in GetModuleHandleA
2022-06-10 11:51:35 -05:00
Christopher Paschen 2e8db28f3d Properly link in GetModuleHandleA 2022-06-10 11:48:54 -05:00
kev169 540970ae55 Merge pull request #3 from trustedsec/internal_functions
Compatibility update
2022-05-20 10:40:45 -05:00
Christopher Paschen eb4057570b Add in 4 internal functions for CobaltStrike compatibility
Fix to for BeaconPrintf so it doesn't overwrite last char
2022-05-20 10:31:07 -05:00
Kevin Haubris e83c8892c9 Explicitly call LoadLibraryA since that is the one that needs to be called. 2021-03-02 08:02:51 -06:00
Kevin Haubris 3971516c22 Changed the cast for the entry function. 2021-03-01 10:13:58 -06:00
Kevin Haubris 6c163398b9 Swapped out WIN32/WIN64 defines for _WIN32/_WIN64, and updated so that it builds in VS projects. 2021-03-01 10:05:24 -06:00
Kevin Haubris 794f7117cc Added example of running to README. 2021-02-22 08:59:15 -06:00
Kevin Haubris dd9a70836b Added section on beacon_generate.py 2021-02-22 08:52:55 -06:00
Kevin Haubris bb99920397 Updated README. 2021-02-19 13:40:24 -06:00
Kevin Haubris 626956ecf5 Initial commit 2021-02-19 13:29:38 -06:00