Go Back   FlashFXP Forums > > > >

ADDiCT's scripts sitewho.exe, ioGroups, ioGui, ioLimitTransfers, ioSecureAdduser

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-22-2003, 04:55 AM   #46
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

hi

lusers = C:\ioFTPD\scripts\Misc\ioGroups.exe listusers
groups = C:\ioFTPD\scripts\Misc\ioGroups.exe listgroups
ginfo = C:\ioFTPD\scripts\Misc\ioGroups.exe listgroups
grpstats = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats
gdayup = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats dayup 20
gdaydn = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats daydn 20
gwkup = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats wkup 20
gwkdn = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats wkdn 20
gmnup = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats monthup 20
gmndn = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats monthdn 20
gallup = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats allup 20
galldn = C:\ioFTPD\scripts\Misc\ioGroups.exe groupstats alldn 20
usrstats = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats
dayup = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats dayup 20
daydn = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats daydn 20
wkup = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats wkup 20
wkdn = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats wkdn 20
mnup = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats monthup 20
mndn = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats monthdn 20
allup = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats allup 20
alldn = C:\ioFTPD\scripts\Misc\ioGroups.exe userstats alldn 20
traffic = C:\ioFTPD\scripts\Misc\ioGroups.exe sitestats
owngroup = %C:\ioFTPD\scripts\Misc\ioGroups.exe listgroups %[$group]
jeza is offline   Reply With Quote
Old 09-22-2003, 09:26 AM   #47
MaistroX
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jul 2002
Posts: 221
Question

One VERY usefull thing would be if I was able to to like "site userratio" to list ALL users with ratio, would help ALOT when doing a clean up, possible ?

Maby allso a feature that can deletae all users that have ratio 1:3 , just kkeping the best, meaning the top 20, or top 30 etc....

Possible ?
MaistroX is offline   Reply With Quote
Old 09-23-2003, 03:23 PM   #48
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

hi

any chance to make user info?
jeza is offline   Reply With Quote
Old 09-23-2003, 04:07 PM   #49
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

hehe, i was ahead of u this time, working on it already

(i'm converting ioGui to work over FTP, and i'm using ioGroups to provide all user/groupinfo.)
ADDiCT is offline   Reply With Quote
Old 09-23-2003, 04:30 PM   #50
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

)

nice
jeza is offline   Reply With Quote
Old 09-24-2003, 04:17 PM   #51
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

updates in 1.0.226:
- "site user" : replacement for "site uinfo"
ADDiCT is offline   Reply With Quote
Old 09-24-2003, 04:44 PM   #52
MaistroX
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jul 2002
Posts: 221
Question

Could "site myinfo" be extended so like "1M" kan do like "site myinfo user1" , "site myinfo user2" aso. , so "1M" can check other users with that "looks" to ?

and maby ability so see allso "nr. of logins:" and more if possible ?
MaistroX is offline   Reply With Quote
Old 09-24-2003, 04:48 PM   #53
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

read the readme:

[scripts]
user = ..\scripts\ioGroups.exe userinfo

will make: "site user ADDiCT" return info for addict

limit the "site user" to 1M like this :

[Ftp-SITE-Permissions]
user = 1M

this will allow all users to view their own info with "site myinfo", and administrators to view info of any user with "site user blabla"
ADDiCT is offline   Reply With Quote
Old 09-24-2003, 06:25 PM   #54
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

hi

site syslog 1
200--[Syslog]--------------------------------------------------------
200- 09-25-2003 01:20:57 'jeza' created user 'r' in group 'jP'.

200------------------------------------------------------------[ioA]-
200 Command Successful.
site user r
200-.------------------------------------------------------------------------.
200-| UserName........: r Flags.............: 2 |
200-| Group...........: jP Credits...........: 0 MB |
200-| Added By........: [n/a] Ratio.............: 1:3 |
200-| Added On........: [n/a] FTP Logins........: 2 |

ioGroups.ini
sysop_logfile = C:\ioFTPD\logs\SysOp.log
added by/on seems not to working
jeza is offline   Reply With Quote
Old 09-24-2003, 06:30 PM   #55
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

09-24-2003 22:42:00 'ioFTPD' created user 'test0rz' in group 'ioftpd'.

200-.------------------------------------------------------------------------.
200-| UserName........: test0rz Flags.............: 3 |
200-| Group...........: ioftpd Credits...........: 0 MB |
200-| Added By........: ioFTPD Ratio.............: 1:3 |
200-| Added On........: 09-24-2003 22:42 FTP Logins........: 1 |

i'll check it tomorrow, going to bed now
ADDiCT is offline   Reply With Quote
Old 09-25-2003, 02:59 PM   #56
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

hi

ok

site user r
200-.------------------------------------------------------------------------.
200-| UserName........: r Flags.............: 2 |
200-| Group...........: jP Credits...........: 0 MB |
200-| Added By........: [n/a] Ratio.............: 1:3 |
200-| Added On........: [n/a] FTP Logins........: 2 |
200-| Max Sim Uploads.: Telnet Logins.....: 1 |
200-| Max Sim Dnloads.: HTTP Logins.......: 5 |

the user r never log in to server
jeza is offline   Reply With Quote
Old 09-25-2003, 10:11 PM   #57
ZAiNT
Disabled
 
Join Date: Apr 2003
Posts: 21
Thumbs up WHOOT!!!

Wzup! first of all i have to say this script totally r0x0rz!!!

And to my little request:

Last seen: Fri Sep 26 05:05:10 2003

it would be nice to see this in site user blahblah and site myinfo

peace!

.: ZAiNT

edit:
[05:20:49] 200-.----------------------------------[uINFO]------------------------------------.
[05:20:49] 200-| |
[05:20:49] 200-| Last login at 09-25-2003 12:18:31 |
[05:20:49] 200-.----------------------------------[uINFO]------------------------------------.

DOH!!!
ZAiNT is offline   Reply With Quote
Old 09-26-2003, 10:33 AM   #58
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

rofl, sorry jeza, i accidently hardcoded the sysop logfile (while debugging)
ZAiNT, i'll look into that 'last seen' thingie, should be no problem
i'll also add a variable %(sitename) so u can use templates on any site without having to change them (sitename will be set in ini file)

expect an update tonight
ADDiCT is offline   Reply With Quote
Old 09-26-2003, 05:09 PM   #59
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

updates in 1.0.238:
- userinfo --> lastlogin & logincount
- sitename variable %(sitename), set in ini file


Remarks:
To check lastlogin (and logincount), ioGroups reads the ioFTPD.log file. I checked it with a 85 MB file, containing ~900000 lines, and it takes about 6 seconds to read through that. i'll assume your ioFTPD.log isn't that big
ADDiCT is offline   Reply With Quote
Old 09-27-2003, 08:50 AM   #60
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

change this in ioftpd.ini for the new ioFTPD version :
Code:
myinfo    = %EXEC ..\scripts\ioGroups.exe userinfo %[$user]
owngroup  = %EXEC ..\scripts\ioGroups.exe listgroups %[$group]
lgroups   = EXEC ..\scripts\ioGroups.exe listgroups
lusers    = EXEC ..\scripts\ioGroups.exe listusers
grpstats  = EXEC ..\scripts\ioGroups.exe groupstats
usrstats  = EXEC ..\scripts\ioGroups.exe userstats
traffic   = EXEC ..\scripts\ioGroups.exe sitestats
user      = EXEC ..\scripts\ioGroups.exe userinfo
ADDiCT is offline   Reply With Quote
Reply

Tags
101, 200-, ioftpd, scriptsiogroups.exe, siteops

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change F8 to something else? Gary King General Discussion 1 11-10-2004 07:03 PM


All times are GMT -5. The time now is 02:43 PM.

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