vBulletin Modifications

[Req] php sfv checker

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 08-02-2005, 07:08 AM   #1
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Question [Req] php sfv checker

Hi,

just wondered if anyone has written (or knows how to write) in PHP, a code that is able to check .SFV file for any missing files (RAR's for example).

As with this code, i could make some nice addon for checking files on pub after post, and if needed make script to auto-nuke it when in-complete during post.

greets.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-02-2005, 07:52 AM   #2
Member
Join Date: Apr 2005
john is on a distinguished road

Default

that would be i nice thing..

i like your idea on this one..

hope to see it in the future..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2005, 03:31 PM   #3
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

wanted to say thanks to Sjaakhans who refered me to ioFTPD website, specific to a script called "PHP Psio" - which is php .SFV file checker.

looked it up, so the link is here:
http://www.inicom.net/pages/en.ioftpd-scripts.php?id=49

will try to snoop around code there & see how is the algorithm done, and will try to make some nice addon out of this one.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2005, 04:06 PM   #4
Coder
Senna's Avatar
Join Date: Mar 2005
Location: LalaLand
Senna is on a distinguished road

Default

would be a nice addon as it would save me a lot of work ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2005, 05:16 PM   #5
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

Something you need to be aware of before starting this.

I wrote an auto nfo retrieval, this hack connects to posted ftp and searches for the nfo for the release posted. It would search sub dir's until it found etc lots of other features i wont go into the point being that I know a lot about the following from experience and unless your aware of it before you start you could end up spending a lot of time coding something that you cant use for security reasons or whatever.
If you want your board host to connect to a server to run an sfv check keep these things in mind. The server you are connecting to had better be legit/legal because your not just testing to see if your board can connect. Your doing actual activity such as changiing dirs possibly downloading a file or two etc all of which can be logged and reported. Just as an ftp checker is unsafe so is this but since your doing more its much easier to get noticed.
It had also better be a very good host because it will take time and unless your script to do this works in the background or independantly of vB it can mean the difference between 2 seconds to post and 2 minutes to post even on a good host. There are other reasons but those two are the more serious ones to think of.
__________________


Feel free to ask questions here




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-02-2005, 06:29 PM   #6
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default

got this one on my old boad

but it's 2.3 i tough :\




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-03-2005, 10:52 AM   #7
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

Quote:
Originally Posted by ShavedApe
Something you need to be aware of before starting this.

I wrote an auto nfo retrieval, this hack connects to posted ftp and searches for the nfo for the release posted. It would search sub dir's until it found etc lots of other features i wont go into the point being that I know a lot about the following from experience and unless your aware of it before you start you could end up spending a lot of time coding something that you cant use for security reasons or whatever.
If you want your board host to connect to a server to run an sfv check keep these things in mind. The server you are connecting to had better be legit/legal because your not just testing to see if your board can connect. Your doing actual activity such as changiing dirs possibly downloading a file or two etc all of which can be logged and reported. Just as an ftp checker is unsafe so is this but since your doing more its much easier to get noticed.
It had also better be a very good host because it will take time and unless your script to do this works in the background or independantly of vB it can mean the difference between 2 seconds to post and 2 minutes to post even on a good host. There are other reasons but those two are the more serious ones to think of.
Thanks for replying.

From your experience, and the code you made for the auto nfo retriver:
is this (or nfo retriver) something usable & coding worthy ?
if any small lag, guessing maybe can do this as background cronjob process.
but wanted to know if u believe it to be too much laggy... i mean did u removed the hack u wrote for this reason, or u manged to make it usable under some certain conditions/coding (if putting aside the security factor) ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-03-2005, 12:35 PM   #8
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

I moved it to remote host for security reasons. Have since removed it because although it was fast most of the time it was still too slow and we lost a host because of it. I sent all my info encrypted and the files themselves on the remote server where also encrypted. So while our board was still as safe as it could be under the circumstances we lost a perfectly good back up host. I moved it to another remote host but speed is still an issue for me. Have other ideas on how to improve it but simply dont have the time put into practice anymore.
A cronjob works like this it only works when the board is active i.e someone views a thread. This is regardless of time limits set on your cronjob. Do a host cronjob and you can at least keep to the time constraints you set. Your host would then connect to X amount of servers to do the task set. So speed may no longer be an issue depending on how many X =.
Security is a huge factor here though and to just dismiss it is perhaps not the smartest of moves you could make. I know from experience of a board that was shut down simply because the status checker logged in once or twice too often and was found then reported.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-03-2005, 12:51 PM   #9
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

ok m8, thanks for the fast reply.
will try to think what are my alternatives.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php tcl eggdrop question DeadGaze General vBulletin Support 7 03-24-2006 10:32 AM
PHP Vulnerabilities in <= 4.3.9 and <= 5.0.2 Junior Announcements 0 05-11-2005 05:19 AM
[req] php fastsnap for tv's hack IRES vBulletin Modification Requests 3 12-28-2004 04:44 PM
[REQ] members email list scriptz vBulletin Modification Requests 0 09-15-2004 10:47 AM


All times are GMT -3. The time now is 03:08 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)