Harm's scripts ioBanana, Readd script, ioVote |
11-17-2003, 06:11 PM
|
#1
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
ioREADD v0.6
Some users asked for a readd script for ioFTPD, so here it is.
This is a first version and it's probably not as fast as it could be.
And it might (must ?) have some bugs or missing features.
Feel free to report bugs or wishes.
Usage:
======
Users are now automaticaly added to the readd database when
they are deleted.
Users that are already present in the readd database can't be
added using the 'SITE ADDUSER' and 'SITE GADDUSER'
commands.
Users with a '!' in their username can't be added (due to some
itcl issues with such usernames).
Users readded are logged to SysOp.log.
New site commands:
SITE READDS lists all users in the readd database.
SITE READD <user> readds the user.
SITE PURGE <user> remove the user from the readd database.
SITE SETDELMSG <user> <message> replaces the default message
displayed to deleted users when they login with this one for
this user.
Changelog:
==========
v0.6
Added a message for deleted users next time they login.
Added custom login messages for deleted users.
Merged all site commands scripts into one itcl file.
Fixed security issues.
Special thanks to b>d>>s and B0unty.
:banana:
|
|
|
11-17-2003, 06:48 PM
|
#2
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
Super nice !
|
|
|
11-17-2003, 07:11 PM
|
#3
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
Latest version is v0.6.
It is available to foundation members.
|
|
|
11-17-2003, 07:54 PM
|
#4
|
Senior Member
ioFTPD Registered User
Join Date: Sep 2003
Posts: 117
|
What does this script do mate?
|
|
|
11-17-2003, 09:59 PM
|
#5
|
Member
Join Date: Aug 2003
Posts: 58
|
waiting for this script so long, thx verymuch, but i found a small bug, if you don't put an empty ReaddIdTable file in \etc, it will cause error... maybe need to add a line in your script to check the file is there.
Code:
if { ! [file exists etc/ReaddIdTable] } { set newid [open etc/ReaddIdTable a] ; close $newid }
|
|
|
11-18-2003, 03:57 AM
|
#6
|
Senior Member
ioFTPD Registered User
Join Date: Oct 2002
Posts: 298
|
harm u are the man =)) I'll try this script out as soon as I get back from univerity later 2day..
|
|
|
11-18-2003, 10:50 AM
|
#7
|
Senior Member
ioFTPD Registered User
Join Date: Oct 2002
Posts: 298
|
5. Edit user/pass/port in readd.itcl carefully.
Note: the user needs the '1' flag.
hmm, cant find this in readd.tcl, and when I do site deluser testuser it connection just hangs, nothing happends..
edit: created the ReaddIdTable file, and now it works
|
|
|
11-18-2003, 11:14 AM
|
#8
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
have same problem, tryed both with ffxp and with ioGui (should be same thing, both hangs.
from ioGui ->
16:56:02 > deluser xxxxx
16:56:16 > CID LISTBOT
then nothing.
|
|
|
11-18-2003, 12:20 PM
|
#9
|
Senior Member
ioFTPD Registered User
Join Date: Oct 2002
Posts: 298
|
try creating an empty ReaddIdTable in ..\etc
that made it work just fine here..
|
|
|
11-18-2003, 12:55 PM
|
#10
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
Quote:
Originally posted by -=DoBBeR=-
try creating an empty ReaddIdTable in ..\etc
that made it work just fine here..
|
how u mean a dir or...?
|
|
|
11-18-2003, 01:51 PM
|
#11
|
Senior Member
ioFTPD Registered User
Join Date: Oct 2002
Posts: 298
|
a file =)
|
|
|
11-18-2003, 02:44 PM
|
#12
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
Worked like a charm, THX!
=
20:43:17 > deluser *****
20:43:17 200-User successfully added to the readd database.
20:43:17 200 User '*****' successfully deleted.
|
|
|
11-25-2003, 06:49 PM
|
#13
|
Senior Member
ioFTPD Registered User
Join Date: Oct 2002
Posts: 298
|
11-26-2003 00:00:29 "..\scripts\readd\reset.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
extra characters after close-brace
while compiling
"if {[string match "*monthdn*" "$lined"]"
("while" body line 6)
while compiling
"while {![eof $infile]} {
gets $infile lined
if {![string match "*monthdn*" "$lined"]} {
puts $outfile "$lined"
}
if {[string mat..."
("if" then script line 4)
while compiling
"if {[string equal "month" [l
I get that crap in a file called SystemError.log, and it does the same thing every night.
|
|
|
11-26-2003, 01:05 AM
|
#14
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
I noticed that yesterday and i'm currently testing the fix.
I'll most probably update it this afternoon or tomorrow.
|
|
|
11-29-2003, 03:48 AM
|
#15
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
This bug and one other related to non existant users are fixed in v0.4.
|
|
|
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
|
|
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
Download grinding to a halt
|
bruceh |
General Discussion |
6 |
09-07-2004 08:29 AM |
All times are GMT -5. The time now is 10:16 AM.
|