Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-07-2003, 12:30 PM   #46
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

lol
neoxed is offline   Reply With Quote
Old 09-26-2003, 08:09 AM   #47
Pharaoh
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 117
Question

I am using v1.4 and have no problem to ban almost any file...But...
There seem to be a problem to ban files like this:
( ExTrA ) - ( 78MB 8F - COMPLETE )

I tried the following in ZR-Banned.cfg to no avail:
*ExTrA*
*ExTrA*.*
ExTrA*
ExTrA*.*

Am I doing something wrong? How can I ban this kind of files?

TIA.
Pharaoh is offline   Reply With Quote
Old 09-26-2003, 02:43 PM   #48
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

There seems to be an issue when names containing special characters ie. [] () ! etc. Not sure how extensive this is. I found this out myself a couple of weeks ago.

Have you tried uploading a file or dir named test.extra.test or something, without special characters, and see if bans or not?

Gonna have to get back to you later on.
Zer0Racer is offline   Reply With Quote
Old 11-02-2003, 07:21 PM   #49
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Cool ZR-Tools v3.0

WarC has been working on ZR-Tools v3.0 for some time now and we feel it is ready for release (to donators). ZR-Tools is more or less completely rewritten. Partly forced by unfortunate hdd-crash for WarC. Alot of stuff disappeared. Well, it was for the better - eventually. ZR-Tools works even better now. I've been testing it for N number of weeks and WarC has been fixing the bugs that have turned up along the way. Just needs some minor adjustments in manual and it needs to be packaged. Should be ready this week.

What is new? I'll try and answer that as good as I can and WarC can correct me if I'm wrong.

ZR-Tools v2.x didn't work very well when banning files/dirs with special characters like () [] or !, and the use of * was dodgy. WarC made an all new compare routine thingy that works great!

New options for ZR-Clean:
Disable_Log=0
# 1 disables ZR-Clean.log

Disable_File_Log=0
# 1 disables ZR-Clean.nfo.log (that logs all new unknown files)

Extract_nfo=1
# 1 extracts any nfo from zip that is a match in ZR-Clean_Accepted.txt if one isn't already present in dir. Now your zipscript won't have to keep track of all nfos!

Extract_file_id.diz=0
# As above. Maybe not needed since any decent zs extracts the file_id.diz. Implemented for those who might find it useful.

Benchmark=1
# 1 adds line in output telling how fast ZR-Clean checked/cleaned zip. For me it took 30ms to clean 4 files in a 5MB zip on upload.

File_Filter=*.nfo,*.jpg,*.gif
# File extension of files that should be logged in ZR-Clean.nfo.log. Useful to find files like bday.jpg, bub.jpg, eclipse-shock.jpg etc.


Also new is customization. Here's how I think it should look by default. Interesting?
Code:
[customize]
ZR-Ban_Header		="426--[ZR-Ban]-------------------------------------------------------"
ZR-Ban_File_Banned		="426 File %file is banned!"
ZR-Ban_Directory_Banned	="426 Directory %directory is banned!"
ZR-Ban_Footer		="426-----------------------------------------------------------------"
ZR-Ban_Close		="426 Connection closed; transfer aborted."

ZR-Clean_Header		="\n-[ZR-Clean]---------------------------------------------------------"
ZR-Clean_File_Not_Found 	=" File not found"
ZR-Clean_Processing_Path	=" Processing path..."
ZR-Clean_Processing_File	=" Processing file..."
ZR-Clean_Delete_In_Zip	=" Delete in zip: %filename"
ZR-Clean_Delete_In_Dir	=" Delete in dir: %path\%filename"
ZR-Clean_Delete_File_Failed	=" Delete failed: %path\%filename"
ZR-Clean_Extracted_File	=" Extracted: %filename"
ZR-Clean_Footer		="--------------------------------------------------------------------"

ZR-Clean_Delete_In_Zip_Log	="Delete in zip: %path - %filename"
ZR-Clean_Delete_In_Dir_Log	="Delete in dir: %path - %filename"
ZR-Clean_Log_New_Nfo		="%filename <-- %path"
New is the \* at the end of paths (WarC's new compare routine thingy). Just as in ZR-Tools v2.x multiple paths and ban-lists can be used. Multiple ban-lists are very good for admins who want to keep different types of files in separate lists. I have group demo exes in one file, group crc check exes in another (if I suddenly want to clean them out of zips I just add the list in cfg), maybe keep jpgs in one list, one list for all kinds of tags you want to ban (* [* !* -=* #* etc. Multiple paths to create global rules that work in all sections and/or to cover sections that are physically in different locations like raided vfs dirs.

The ban-lists that are included (created from scratch by me personally) contain 270+ filenames at this time. List of accepted nfos contains 210+ filenames.

That's about it. Oh yeah, ZR-Clean.exe can be run externally from command prompt to cleanup your current 0day site/archive. And it removes any zip comment.

Just imagine how much you can do with all of this.

Stay tuned...
/Zer0Racer


Show your support and get this great script. And WarC needs new hdd.
WarC's utils: http://warc.mine.nu/


EDIT: ZR-Tools v3.0 is out now to donators.
Zer0Racer is offline   Reply With Quote
Old 11-02-2003, 07:34 PM   #50
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

Nice...
The current version works great!
I'm really looking forward for the next version... let's see if you can top the last rls
DR. GiGa BYTe is offline   Reply With Quote
Old 11-02-2003, 08:37 PM   #51
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Looks awesome
neoxed is offline   Reply With Quote
Old 11-08-2003, 07:11 PM   #52
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

I have now send new version to donators. If any of you didn't recieve it please let me know. Must say its a nice version that seems to work very well

Big thanks to ZeroRacer for all his testing and so on.
WarC is offline   Reply With Quote
Old 11-09-2003, 06:13 AM   #53
The0ne
Member
 
Join Date: May 2003
Posts: 42
Default

nice

remind me when i have spare $$$ to donate, a little strapped on cash atm hehe.
The0ne is offline   Reply With Quote
Old 11-09-2003, 08:50 AM   #54
Optixxx
Junior Member
ioFTPD Registered User
 
Join Date: Mar 2002
Posts: 26
Default

*********************************************

Thx WarC for sending me the package

A honor to install it

greetz Optixxx
Optixxx is offline   Reply With Quote
Old 11-19-2003, 05:32 PM   #55
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

zr-tools 3.1 is now added to foundationlicense type and can be grabbed from memberpages.

I really hope that those that like it spend a buck on me
WarC is offline   Reply With Quote
Old 12-16-2003, 02:03 PM   #56
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

ZR-Tools 3.2 now added to memberarea.

Fixes when having multiple banlists for sections.
WarC is offline   Reply With Quote
Old 01-15-2004, 05:49 PM   #57
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

Just some more or less important info about ZR-Tools not stated in the manual.

You must use comma separated lists when specifying multiple banlists and/or paths. Do not separate by spaces.

Path=d:\ftp\upload\* e:\ftp\no_crc\* <-- INCORRECT!

Path=d:\ftp\upload\*,e:\ftp\no_crc\* <-- CORRECT!

And when adding ZR-Clean and ZR-Ban in ioFTPD.ini don't forget to use EXEC.
Zer0Racer is offline   Reply With Quote
Old 02-06-2004, 05:12 PM   #58
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

New version 3.3 is out for foundationusers.
WarC is offline   Reply With Quote
Old 07-14-2005, 03:31 AM   #59
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

Theres a new version coming of ZR-Tools....

New ziplib:
used (should take care of some odd zipfiles)
Info-zip will be used this time
New tool:
ZR-Search, used for searching for files in a path recursivly
and if wanted delete them. Also inside zip-files
Rewrite:
Due to the change of ziplib lots of the other subsystems
have also been modified to be faster and better

/WarC
WarC is offline   Reply With Quote
Old 07-14-2005, 01:06 PM   #60
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

WarC, I fixed your account so you can now upload your scripts
Linkster is offline   Reply With Quote
Reply

Tags
features, flashfxp, ioftpd, paths, zr-tools

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 08:25 AM.

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