ADDiCT's scripts sitewho.exe, ioGroups, ioGui, ioLimitTransfers, ioSecureAdduser |
11-02-2003, 01:55 PM
|
#1
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
sitewho.exe by ADDiCT
I got shared memory working in Visual Basic, using the new memory mapping technique and wanted to make something (useful?) with it...
I couldn't get it to crash, perhaps U can ?
This first version doesn't allow u to hide certain users, but that will be added by next version. As well as limiting output to uploaders/downloaders/idlers only.
Output completely customizable with templates.
Only use it on 5.2.11+ versions, older versions don't use memory mapping as interprocess communication technique.
|
|
|
11-02-2003, 03:14 PM
|
#2
|
Senior Member
Join Date: Nov 2001
Posts: 149
|
thanx for sharing
|
|
|
11-03-2003, 11:37 AM
|
#3
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
updates in 1.0.1 :
- added cookie for servicename
- list all users, or only uploaders/downloaders/idlers
- hide users based on: flags, username, groupname, service, path
- fixed security issue: if last command was PASS abcd --> change it to PASS *****
Note: hidden users´ speed will also be hidden
|
|
|
11-03-2003, 11:51 AM
|
#4
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
Only a change of .exe to update or ?
|
|
|
11-03-2003, 11:55 AM
|
#5
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
rofl
long answer:
incase of doubt: update all. or atleast have a look around.
U might have noticed new separate template files for listing all users / uploaders / downloaders / idlers.
U might have also noticed some extra info in the .ini file about hiding certain users.
short answer: complete update
|
|
|
11-03-2003, 12:35 PM
|
#6
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
found a small 'bug' in the uploaders.foot.nfo template:
replace %(speeddown,7,R) with %(speedup,7,R) ... DUH
|
|
|
11-08-2003, 10:36 AM
|
#7
|
Senior Member
ioFTPD Registered User
Join Date: Sep 2003
Posts: 273
|
I like your site who script. But is there a way to get an average speed also?
EDIT: There is something strange with sitewho. Either Ive as usual configured something wrong or its sitewho. Ive edit the body in templets(onlineuser.body.idle) to this:
| USER:...%(user) GROUP:...%(group) IP:...%(ip)
and when a user outside my LAN connects his IP gets screwd.
[200-| USER:...test GROUP:...ioftpd IP:...-1505803819
When connection from my LAN it shows the right ip etc Internal IP. But It seams like the External Ip doesnt show correctly.
|
|
|
11-10-2003, 07:48 AM
|
#8
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
I've fixed the ip conversion thingie (VB only uses signed variables, the negative ones didn't get resolved)
What do u mean with average speed? ioFTPD only gives the current speed, there is no way for me to calculate average speed.
|
|
|
11-10-2003, 07:54 AM
|
#9
|
Senior Member
ioFTPD Registered User
Join Date: Sep 2003
Posts: 273
|
I mean that It would be nice to get an Average speed of a user Up/Down etc. But as you said ioFTPD doesnt support avg. speed so then there isnt much to do.
But thanks for the IP thingi
|
|
|
11-10-2003, 07:59 AM
|
#10
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
here we go... but if u only need a script to show info as a 'site who' command, u are probably better off with an iTCL script, since that doesn't require an exe to be loaded, and getting info trough shmem.
(for a bot, this tool may be usefull though, as the iTCL script can only be run from ioFTPD)
updates in 1.0.2
- fixed long IP to dotted IP conversion for certain IP's
- fixed the template file as described 2 posts above
EXE update only (+ 1 template file)
|
|
|
11-10-2003, 08:58 AM
|
#11
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
THX !
|
|
|
11-14-2003, 01:09 PM
|
#12
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
updates in 1.0.5 :
- getting info from shmem instead of userfiles
- multiple template sets possible
- ability to show hidden users (for siteops)
- added 'speed <user>' and 'bw' (mainly for sitebot)
- separate countercookies for idlers, uploaders, downloaders, all transferring users, all users
(1.0.3 & 1.0.4 were 'internal' versions for Bounty )
|
|
|
11-14-2003, 01:29 PM
|
#13
|
Senior Member
ioFTPD Registered User
Join Date: Sep 2003
Posts: 273
|
Very nice work, thanks.
If you would have time over sometime it would be nice if the new stuff had head, body, foot tamplets also beacuse its look very nice. But its not important.
|
|
|
11-14-2003, 01:44 PM
|
#14
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
'bw' doesn't need header & footer because it only returns 1 thing, so edit the only template there is.
'speed' per user has a footer, but indeed no header
(i have to loop through all online users to find out if a certain user is online AND is not hidden, so if i send the header first, it's possible that there won't be any following content)
|
|
|
11-14-2003, 08:51 PM
|
#15
|
Senior Member
ioFTPD Registered User
Join Date: Sep 2003
Posts: 273
|
Ok I understand.
And I think ive found a bug. Not sure yet you check it out. Look for Users, it doesnt announce the total users in every foot tamplet. As you can se ive got more then 1 user.
200-| |
200-+-------------+--------------------+----------------------+-------------------+
200-| Users: | Upload: 5 kBps | Download: 10 kBps | Total: 15 kBps |
200-+-------------+--------------------+----------------------+-------------------+
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:01 AM.
|