Old 09-10-2004, 03:40 PM   #1
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Thumbs up ioPSTOOLS

ioPSTools

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

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


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.

Code:
[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
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote
Old 09-10-2004, 03:43 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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.
neoxed is offline   Reply With Quote
Old 09-10-2004, 03:53 PM   #3
Grendel
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

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 ?

__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote
Old 02-04-2005, 02:22 AM   #4
inside
Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 51
Default

Good test for the pack tool

Example :
Code:
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.
Code:
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.
inside is offline   Reply With Quote
Reply

Tags
exec, iopstools, psfile, psgetsid, psinfo

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:35 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)