diff --git a/inlineExecute/inlineExecute.o b/inlineExecute/inlineExecute.o index 34ece40..468f3fa 100644 Binary files a/inlineExecute/inlineExecute.o and b/inlineExecute/inlineExecute.o differ diff --git a/src/inlineExecute.c b/src/inlineExecute.c index ef2188e..5601f49 100644 --- a/src/inlineExecute.c +++ b/src/inlineExecute.c @@ -797,13 +797,19 @@ void go(char *args, int len) { // restore handleAddr if (patchEtwHandle) { turnOnEtwHandle(handleAddr, handleVal); - BeaconPrintf(CALLBACK_OUTPUT, "[+] DotNETRuntimeHandle value restored: %x\n", *handleAddr); + + if (verbose) { + BeaconPrintf(CALLBACK_OUTPUT, "[+] DotNETRuntimeHandle value restored: %x\n", *handleAddr); + } } // restore enable bits if (patchEtwEnableBits) { turnOnEtwEnableBits(enableBitsAddr, enableBitsVal); - BeaconPrintf(CALLBACK_OUTPUT, "[+] DotNETRuntimeEnableBits value restored: %x\n", *enableBitsAddr); + + if (verbose) { + BeaconPrintf(CALLBACK_OUTPUT, "[+] DotNETRuntimeEnableBits value restored: %x\n", *enableBitsAddr); + } } BeaconPrintf(CALLBACK_OUTPUT, "[+] Done\n");