mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-24 18:16:24 +01:00

This commit adds service status to the query functionality for a single service so that it doesn't have to be found in the full list of services. It also adds the ability for the caller to control services using the typical start/stop/pause/resume/restart style functions. To use these functions the caller has to have appropriate rights.
14 lines
413 B
C
14 lines
413 B
C
/*!
|
|
* @file service.h
|
|
* @brief Declarations for service management functions
|
|
*/
|
|
#ifndef _METERPRETER_SOURCE_EXTENSION_EXTAPI_SERVICE_H
|
|
#define _METERPRETER_SOURCE_EXTENSION_EXTAPI_SERVICE_H
|
|
|
|
VOID initialise_service();
|
|
DWORD request_service_enum(Remote *remote, Packet *packet);
|
|
DWORD request_service_query(Remote *remote, Packet *packet);
|
|
DWORD request_service_control(Remote *remote, Packet *packet);
|
|
|
|
#endif
|