Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
Old 11-02-2003, 01:55 PM   #1
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default 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.
ADDiCT is offline   Reply With Quote
Old 11-02-2003, 03:14 PM   #2
phoenixfr
Senior Member
 
Join Date: Nov 2001
Posts: 149
Default

thanx for sharing
phoenixfr is offline   Reply With Quote
Old 11-03-2003, 11:37 AM   #3
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

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
ADDiCT is offline   Reply With Quote
Old 11-03-2003, 11:51 AM   #4
MaistroX
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jul 2002
Posts: 221
Question

Only a change of .exe to update or ?
MaistroX is offline   Reply With Quote
Old 11-03-2003, 11:55 AM   #5
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

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
ADDiCT is offline   Reply With Quote
Old 11-03-2003, 12:35 PM   #6
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

found a small 'bug' in the uploaders.foot.nfo template:
replace %(speeddown,7,R) with %(speedup,7,R) ... DUH
ADDiCT is offline   Reply With Quote
Old 11-08-2003, 10:36 AM   #7
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

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.
odd is offline   Reply With Quote
Old 11-10-2003, 07:48 AM   #8
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

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.
ADDiCT is offline   Reply With Quote
Old 11-10-2003, 07:54 AM   #9
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

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
odd is offline   Reply With Quote
Old 11-10-2003, 07:59 AM   #10
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

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)
ADDiCT is offline   Reply With Quote
Old 11-10-2003, 08:58 AM   #11
MaistroX
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jul 2002
Posts: 221
Thumbs up

THX !
MaistroX is offline   Reply With Quote
Old 11-14-2003, 01:09 PM   #12
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

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 )
ADDiCT is offline   Reply With Quote
Old 11-14-2003, 01:29 PM   #13
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

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.
odd is offline   Reply With Quote
Old 11-14-2003, 01:44 PM   #14
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

'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)
ADDiCT is offline   Reply With Quote
Old 11-14-2003, 08:51 PM   #15
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

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-+-------------+--------------------+----------------------+-------------------+
odd is offline   Reply With Quote
Reply

Tags
mapping, memory, output, technique, version

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 07:16 AM.

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