PDA

View Full Version : ioPSTOOLS


Grendel
09-10-2004, 03:40 PM
ioPSTools

*WINDOWS NT/2k/XP/2003 ONLY*

...nice freeware from Sysinternals - very useful in some cases...
and easy to implement into ioFTPD as ioPSTOOLS :p


see for further details & original-downloads:

http://www.sysinternals.com/Utilities/PsTools.html


copy all files from downloaded pstools.zip into ..\scripts\ioPSTOOLS\
and add this to ioFTPD.ini & rehash config.


[FTP_Custom_Commands]

psexec = EXEC ..\scripts\ioPSTOOLS\psexec.exe
psfile = EXEC ..\scripts\ioPSTOOLS\psfile.exe
psgetsid = EXEC ..\scripts\ioPSTOOLS\psgetsid.exe
psinfo = EXEC ..\scripts\ioPSTOOLS\psinfo.exe
pskill = EXEC ..\scripts\ioPSTOOLS\pskill.exe
pslist = EXEC ..\scripts\ioPSTOOLS\pslist.exe
psloggedon = EXEC ..\scripts\ioPSTOOLS\psloggedon.exe
psloglist = EXEC ..\scripts\ioPSTOOLS\psloglist.exe
pspasswd = EXEC ..\scripts\ioPSTOOLS\pspasswd.exe
psservice = EXEC ..\scripts\ioPSTOOLS\psservice.exe
psshutdown = EXEC ..\scripts\ioPSTOOLS\psshutdown.exe
pssuspend = EXEC ..\scripts\ioPSTOOLS\pssuspend.exe


[FTP_SITE_Permissions]

psexec = 1M
psfile = 1M
psgetsid = 1M
psinfo = 1M
pskill = 1M
pslist = 1M
psloggedon = 1M
psloglist = 1M
pspasswd = 1M
psservice = 1M
psshutdown = 1M
pssuspend = 1M



have fun....but be careful with some of the commands....RTFM :D

neoxed
09-10-2004, 03:43 PM
My question - why? You could have just copied the executables to your Windows directory, or any other directory listed in %PATH%, and just used SITE EXEC.

By the way, I doubt Siteops need access to those tools, Master is more appropriate. :p

Grendel
09-10-2004, 03:53 PM
It was only a suggestion, nobody must used it on this way...
Everybody can do it on it's own way,
but I prefer it as internal commands, it looks much nicer.
I find this commands are very useful for me...why not ?

:D

inside
02-04-2005, 02:22 AM
Good test for the pack tool ;)

Example :

site pssuspend
200-
200-PsSuspend v1.05 - local and remote process suspender/resumer
200-Copyright (C) 2001-2003 Mark Russinovich
200-Sysinternals - www.sysinternals.com
200-
200-PsSuspend suspends or resumes processes on a local or remote NT system.
200-
200-Usage: pssuspend [-r] [\\RemoteComputer [-u Username [-p Password]]] <process Id or name>
200- -r Resume.
200- -u Specifies optional user name for login to
200- remote computer.
200- -p Specifies optional password for user name. If you omit this
200- you will be prompted to enter a hidden password.
200-
200 Command successful.


site pspasswd
200-
200-PsPasswd v1.21 - Local and remote password changer
200-Copyright (C) 2003-2004 Mark Russinovich
200-Sysinternals - www.sysinternals.com
200-
200-PsPasswd changes passwords on a local or remote system.
200-
200-Usage: pspasswd [\\[computer[,computer,[,...]|Domain]|@file] [-u Username [-p Password]]] Username [NewPassword]
200- computer Direct PsPasswd to perform the command on the remote
200- computer or computers specified. If you omit the computer
200- name PsPasswd runs the command on the local system,
200- and if you specify a wildcard (\\*), PsPasswd runs the
200- command on all computers in the current domain.
200- @file PsPasswd will change the password on the computers listed
200- in the file.
200- -u Specifies optional user name for login to remote
200- computer.
200- -p Specifies optional password for user name. If you omit this
200- you will be prompted to enter a hidden password.
200- Username Specifies name of account for password change.
200- NewPassword New password. If ommitted a NULL password is applied.
200-
200 Command successful.


:p