[Discuss] Python module for Windows services that runs on Linux

Mike Small smallm at panix.com
Mon Dec 1 17:42:50 EST 2014


Matt Shields <matt at mattshields.org> writes:

> Anyone know of a python module that will let me query/start/stop a Windows
> service?  The module needs to be able work on a Linux system.  I've looked
> around but it seems all the modules I find require the python app to run on
> a Windows machine.

Never had to do it, but impacket looks promising:

https://code.google.com/p/impacket/source/browse/tags/impacket_0_9_12/examples/services.py

Seems the others use the client side SCM and WIN32 API to it rather than using the
wire protocol (http://msdn.microsoft.com/en-us/library/cc245832.aspx)
manually like this guy does.

-- 
Mike Small
smallm at panix.com



More information about the Discuss mailing list