
Full Disclosure mailing list archives
RE: Psexec on *NIX
From: Pavel Kankovsky <peak () argo troja mff cuni cz>
Date: Thu, 6 May 2004 23:38:25 +0200 (MET DST)
On Thu, 6 May 2004, Chris Carlson wrote:
I know it is possible to remotely install any solution and then use it, but it doesn't make sense to do so. Why would I install and run an ssh daemon just to use it to run another program, then delete the ssh daemon? Why would I do that with anything? It just doesn't make sense.
Psexec does more or less the same thing in an automated way: it uploads a program to the target machine (via ADMIN$ share), registers it as a new services, starts the service, connects to the service and asks it to execute the given command, stops the services, unregisters the service and removes the program. Last time I looked, smbclient and rpcclient from Samba TNG were able to accomplish all of the listed tasks but service registration and unregistration. An alternative method to run code on a remote MS Windows machine is to start an uploaded program by the Scheduler service (assuming this service is running or at least ready to be started). This can be done using rpcclient. --Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ] "Resistance is futile. Open your source code and prepare for assimilation." _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- Re: Psexec on *NIX, (continued)
- Re: Psexec on *NIX Nico Golde (May 07)
- RE: Psexec on *NIX Chris Carlson (May 06)
- RE: Psexec on *NIX Scott Taylor (May 06)
- Re: Psexec on *NIX Jon S. (May 06)
- Re: Psexec on *NIX Ondrej Krajicek (May 07)
- RE: Psexec on *NIX Michael Gargiullo (May 06)
- RE: Psexec on *NIX Mikael Abrahamsson (May 06)
- RE: Psexec on *NIX xtrecate (May 08)
- RE: Psexec on *NIX Ron DuFresne (May 10)
- RE: Psexec on *NIX Frank Knobbe (May 06)
- RE: Psexec on *NIX Pavel Kankovsky (May 06)
- RE: Psexec on *NIX Paul Schmehl (May 06)
- RE: [inbox] RE: Psexec on *NIX Exibar (May 06)
- Re: Psexec on *NIX Ondrej Krajicek (May 07)
- RE: Psexec on *NIX Aditya, ALD [Aditya Lalit Deshmukh] (May 07)
- Re: Psexec on *NIX sashman (May 07)
- RE: Psexec on *NIX Ian Latter (May 06)
- RE: Psexec on *NIX Ian Latter (May 06)
- RE: Psexec on *NIX Chris Carlson (May 06)
- Re: Psexec on *NIX Ondrej Krajicek (May 07)
- RE: Psexec on *NIX Jos Osborne (May 07)
(Thread continues...)