Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-13-2003, 04:57 PM   #1
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default ioGroups (lists groups & users)

edit: always check my last reply in this thread to find the latest version

------------------------------


has this kinda output:

Code:
site lusers
200-----------------------------------------------------------------------
200-  id   name             member of these groups
200-----------------------------------------------------------------------
200- 103   ADDiCT           SiTEOPS (101) / ioftpd (0)
200- 102   anonymous        ioftpd (0)
200- 101   darkone          lSpeed (100)
200-   0   ioFTPD           ioftpd (0)
200-----------------------------------------------------------------------
200 Command Successful.

site lgroups
200-----------------------------------------------------------------------
200-  id   groupname      users   description
200-----------------------------------------------------------------------
200-   0   ioftpd             3   Administrators
200- 100   lSpeed             1   LightSpeed
200-   1   NoGroup            0   Default Group
200- 101   SiTEOPS            1   New Group
200-----------------------------------------------------------------------
200 Command Successful.
perhaps not so usefull... but i needed it anyway for something else i'm making

read all info from the user/group files & IDtables, make sure to edit the ini file correctly

add this to your ioFTPD.ini, in the [scripts] section:
lgroups = ..\scripts\ioGroups.exe listgroups
lusers = ..\scripts\ioGroups.exe listusers
ADDiCT is offline   Reply With Quote
Old 09-13-2003, 05:24 PM   #2
dcZ
Senior Member
 
Join Date: Mar 2003
Posts: 138
Default

Good work, don't need but im sure someone needs it. Saw someone ask for stuff like this before.
dcZ is offline   Reply With Quote
Old 09-13-2003, 06:11 PM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Yep, you're doing great
darkone is offline   Reply With Quote
Old 09-13-2003, 06:23 PM   #4
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

updates in 1.0.45
- u can limit the output like this:
site lusers a*
will only show users beginning with an "a". same for lgroups command.
(quite usefull if you have alot of users )
ADDiCT is offline   Reply With Quote
Old 09-14-2003, 06:02 AM   #5
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

real nice

when u done woth your project and may find the time

to extend it with an feature like this

site lgroup SiteOP
200-.-------------------------------------------------[gRp_INFO]---------------------------------------------------.
200-| |
200-| Login | AllUp | AllDn | Tagline |
200- |
200-| * alturismo 63228 15029 solo |
200-| * whoever 0 123 |
200-| SiteBot 0 0 |
200-|----------------------------------------------------------------------------------------------------------------|
200-| + = GroupAdmin * = leech SiteOP |
200-|----------------------------------------------------------------------------------------------------------------|
200-| GroupÄSlots: -1 LeechSlots: -1 Users in group: 3 ... w/leech: 2 |
200-| |
200-| Files Megs kBps
200-|----------------------------------------------------------------------------------------------------------------|
200-| ALLUP 4355 63228 285 |
200-| ALLDN 1105 15152 226 |
200-| MONTHUP 937 28672 227 |
200-| MONTHDN 520 2981 106 |
200-| WEEKUP 1029 30278 225 |
200-| WEEKDN 619 4632 110 |
200-| DAYUP 135 4158 111 |
200-| DAYDN 131 268 61 |
200-|----------------------------------------------------------------------------------------------------------------|

as there aint anymore ginfo working on b5, only included with iobanana,
but not all using his nice script

i tryed to make one out of moutons old ginfo as he suggested,
but i never made it to compile cause of my crappy c knowledge
alturismo is offline   Reply With Quote
Old 09-14-2003, 08:09 AM   #6
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

i'm already able to output something like this:

Code:
site lgroups ioftpd
200------------------------------------------------------------------------------------------
200-username  | flags |   allup  |     alldn | leech | groupadmin | tagline
200------------------------------------------------------------------------------------------
200-ADDiCT    | 3     | 8864418  |   1207087 |    no |         no | ADDiCTed
200-anonymous | 3A    |       0  |    113542 |   yes |         no | Vote ioFTPD for president
200-ioFTPD    | 1MTH  | 4966593  | 833483021 |   yes |         no | Speed of light
200------------------------------------------------------------------------------------------
200-Usercount: 3  Groupslots: -1  Leechslots: -1
200------------------------------------------------------------------------------------------
for the other part: i suppose that is the total allup/alldn/wkup/wkdn/... of all users in the group ?
ADDiCT is offline   Reply With Quote
Old 09-14-2003, 08:48 AM   #7
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

yep

these are some totals (where i was still some editing )
wich arent that important, the layout u have there looks already real good
alturismo is offline   Reply With Quote
Old 09-14-2003, 09:35 AM   #8
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

atm i only made the listing of users in the group, the totals will require more work than i expected (i'll only make that if you REALLY need it)

Code:
site lgroups ioftpd
200-.------------------------------------------------------------------------------.
200-|                                                                              |
200-| GroupInfo for ioftpd - Administrators                                        |
200-|                                                                              |
200-+------------------------------------------------------------------------------+
200-| +* | username      | flags |   allup |   alldn | tagline                     |
200-+------------------------------------------------------------------------------+
200-|    | ADDiCT        | 3     |    8656 |    1178 | ADDiCTed                    |
200-| *  | anonymous     | 3A    |       0 |     110 | Vote ioFTPD for president   |
200-| *  | ioFTPD        | 1MTH  |    4850 |  813948 | Speed of light              |
200-+------------------------------------------------------------------------------+
200-| Usercount: 3  Groupslots: -1  Leechslots: -1                                 |
200-| * =leech  + =groupadmin                                                      |
200-+------------------------------------------------------------------------------+

updates in 1.0.71 :
- groupinfo as shown above
ADDiCT is offline   Reply With Quote
Old 09-14-2003, 09:42 AM   #9
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

cheers man for sharing,

for me its fine as is

the other was more experimental *g*
alturismo is offline   Reply With Quote
Old 09-14-2003, 12:47 PM   #10
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

hi

tnx for making this .exe
jeza is offline   Reply With Quote
Old 09-15-2003, 04:11 AM   #11
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

really nice addon m8

continue this good work

have fun
bounty
bounty is offline   Reply With Quote
Old 09-17-2003, 03:34 PM   #12
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

ok, just experimental for now, tell me what needs changing

btw: if you want 'site grpwk', make it an alias for 'site grpstats wkup'
ADDiCT is offline   Reply With Quote
Old 09-17-2003, 03:54 PM   #13
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

okay, deleted previous attachment, was too buggy

latest version at :
http://home.no.net/addict99/files/ioGroups.1.0.133.zip

thanks to sams- for helping me out !
ADDiCT is offline   Reply With Quote
Old 09-17-2003, 05:54 PM   #14
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 528
Default

hi

very nice work

something like this would be nice to have
jeza is offline   Reply With Quote
Old 09-17-2003, 06:22 PM   #15
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

ginfo.msg

I need to add the + and * for leecher & groupadmin, i forgot that. Not a big problem.
The totalgroupstats are available already, edit your groupusers.foot.nfo file :

Code:
+------------------------------------------------------------------------------+
|                                                                              |
| allup    %(total_allup,8,R)                  alldn    %(total_alldn,8,R)                         |
| monthup  %(total_monthup,8,R)                  monthdn  %(total_monthdn,8,R)                         |
| wkup     %(total_wkup,8,R)                  wkdn     %(total_wkdn,8,R)                         |
| dayup    %(total_dayup,8,R)                  daydn    %(total_daydn,8,R)                         |
|                                                                              |
+------------------------------------------------------------------------------+
i will update this file by default in next version


gstats.msg

i need to
- add filecount (next to the megabytecount there is now)
- add order number
- add limiting (top 5/10/20/...)

will take a bit of work, nothing hard tho
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 09:26 AM.

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