gui
qtkite 3 years ago
parent 01e3e2d0f4
commit a4fe54a4f0

@ -32,5 +32,4 @@ I will release a version that enables it in the near future.
If you are interested in how I developed this program check out the writeup [here](https://github.com/qtkite/defender-control/blob/main/Writeup.md).
## TO-DO
- Build an interface
- Create native bindings for .NET
- Build an interface

@ -312,7 +312,7 @@ namespace dcontrol
return false;
}
// string types
// BSTR types
//
helper->execute("EnableControlledFolderAccess", "Enabled");
helper->execute("PUAProtection", "enable");
@ -321,7 +321,7 @@ namespace dcontrol
h->execute<BOOL>(name, wmic::variant_type::t_bool, FALSE);
};
// bool types
// BOOL types
//
helper_disable(helper, "DisableRealtimeMonitoring");
helper_disable(helper, "DisableBehaviorMonitoring");
@ -335,6 +335,8 @@ namespace dcontrol
helper_disable(helper, "DisableAntiSpyware");
helper_disable(helper, "DisableAntiVirus");
// Cleanup
//
delete helper;
manage_windefend(true);

Loading…
Cancel
Save