H
H
HAG2016-11-24 13:10:28
Windows
HAG, 2016-11-24 13:10:28

How to remotely initiate script execution on Windows?

Hello.
Is it possible to remotely initiate certain actions on a windows host? The bottom line is that the remote user gives a certain signal from the set, and a certain script is launched on the host. That is, the remote user does not have any rights to execute scripts on the server through psexec, powershell or a scheduler, all he can do is give the go-ahead to the host - do something, and the host initially understands and waits for a certain set of signals in order to execute the corresponding set commands.
All that comes to mind so far is stupid monitoring by the host of certain files in a shared network directory, but maybe there are some more elegant ways?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Peter, 2016-11-24
@petermzg

web API

S
Saboteur, 2016-11-24
@saboteur_kiev

set up a web server with CGI scripts

A
athacker, 2016-11-24
@athacker

Web server, yes. The initiation of the launch of scripts will be by pulling the corresponding URLs, or by making several buttons on the web page. But in the end, it will still be pulling URLs from the page, and the web server will run the necessary scripts.

A
Alexander, 2016-11-24
@NeiroNx

So the host must be configured and expect such a command. Ie you need access to the host with administrator rights at least short-term.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question