Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support #26

Open
fralik opened this issue Mar 11, 2020 · 2 comments
Open

Windows support #26

fralik opened this issue Mar 11, 2020 · 2 comments
Assignees

Comments

@fralik
Copy link
Owner

fralik commented Mar 11, 2020

Let's see if we can support Windows computers for shutdown/reboot. It seems that on Linux-based systems Samba knows how to talk to Windows, i.e. net rpc shutdown -I ip.address -U user%password.

I found MS-RSP (remote shutdown protocol) protocol, which describes shutdown commands. It's interface UUID (338CD001-2244-31F1-AAAA-900038001003) is the same as MS-RRP (Windows remote registry protocol).

GitHub has Windows 2000 source code. One may have a look at the code of shutdown.c.

Interesting links, phrases, e.t.c.:

@fralik fralik self-assigned this Mar 11, 2020
@fralik
Copy link
Owner Author

fralik commented Mar 13, 2020

@fralik
Copy link
Owner Author

fralik commented Mar 26, 2020

rapid7/smbj-rpc#148 - contains implementation of windows remote shutdown/reboot in java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant