mirror of
https://github.com/gentilkiwi/mimikatz
synced 2024-12-13 09:35:18 +00:00
b0be118bc5
[fix #83] mimikatz - No ExitProcess when using DLL (for PowerShell) [new] mimikatz - service::+ & service::- to install/uninstall [enhancement] token::elevate & token::run
23 lines
1.0 KiB
C
23 lines
1.0 KiB
C
/* Benjamin DELPY `gentilkiwi`
|
|
http://blog.gentilkiwi.com
|
|
benjamin@gentilkiwi.com
|
|
Licence : https://creativecommons.org/licenses/by/4.0/
|
|
*/
|
|
#pragma once
|
|
#include "globals.h"
|
|
#include <aclapi.h>
|
|
|
|
BOOL kull_m_service_getUniqueForName(PCWSTR serviceName, SERVICE_STATUS_PROCESS * pServiceStatusProcess);
|
|
|
|
BOOL kull_m_service_start(PCWSTR serviceName);
|
|
BOOL kull_m_service_remove(PCWSTR serviceName);
|
|
BOOL kull_m_service_stop(PCWSTR serviceName);
|
|
BOOL kull_m_service_suspend(PCWSTR serviceName);
|
|
BOOL kull_m_service_resume(PCWSTR serviceName);
|
|
BOOL kull_m_service_preshutdown(PCWSTR serviceName);
|
|
BOOL kull_m_service_shutdown(PCWSTR serviceName);
|
|
|
|
BOOL kull_m_service_genericControl(PCWSTR serviceName, DWORD dwDesiredAccess, DWORD dwControl, LPSERVICE_STATUS ptrServiceStatus);
|
|
BOOL kull_m_service_addWorldToSD(SC_HANDLE monHandle);
|
|
BOOL kull_m_service_install(PCWSTR serviceName, PCWSTR displayName, PCWSTR binPath, DWORD serviceType, DWORD startType, BOOL startIt);
|
|
BOOL kull_m_service_uninstall(PCWSTR serviceName); |