Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MD5 Version File Generator Details »
MD5 Version File Generator
Mod Version: 2.0.1, by PitchouneN64ngc (IB Staff) PitchouneN64ngc is offline
Developer Last Online: Aug 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (3 votes - 5.00 average) Installs: 13
Released: 22 Aug 2007 Last Update: 09 Oct 2009 Downloads: 132
Supported DB Changes Uses Plugins Additional Files  

This mod is an adaptation of the Marco's mod ( http://www.vbulletin.org/forum/showthread.php?t=108567 ) because there is some little things changed and added some new things too. Thank you for allow me to re-release it , Marco

MD5 Version File Generator - Version 2.0.1

Hack: MD5 Version File generator
Version: v2.0.1
Author: MarcoH64
Adapted for vB 3.6.8+ by Pitchoune (PitchouneN64ngc)
vB Version: 3.6.8 - 3.8.x (can work but will be more useful since vB 3.6.8 due to the added things).

For lower versions of vBulletin, you can see the original 1.0.0 mod here.

You can see this function in the vB3.5.4 release announce thread: http://www.vbulletin.com/forum/showp...9&postcount=16

Description
This Modification is a tool for Hack Coders.

Since vB version 3.5.4 there is an improved File Version checker included as part of the diagnostics. All files in the forumhome directory will be checked if they are know and if the content is not changed.

To do this vBulletin uses a file called ./includes/md5_sums_PRODUCTID.php
This file contains all known files (for the hack the file is written for) and a MD5 hash of the files.

If you don't supply this file, admins will be warned for unknown files in their forumhome directory if you hack upload new files there. To create such a file by hand is not easy, but this hack can do it for you.

Since vB 3.6.8, there is a new add in the md5 files, you can look to it at the end of the official addons md5 files like this:

$md5_sum_softwareid = 'vbprojecttools';
$md5_sum_versions['vbprojecttools'] = '1.0.1';

This new version adds these 2 lines for you.

An other new thing is to adapt this modification to your configuration. If your admincp and/or modcp directories didn't have the default values (admincp or modcp), when you're saving files, it will be checked correctly, and the default values will be registered.

And it's the same thing when you generate the md5 file (it will create the md5 value from your configuration, and it will write in the file
the default values with the correct md5 of your configuration).

How to use:
  • AdminCP->Plugin & Products->Version File Manager
  • You will see a list of all Products installed on the board.
    Click edit behind your Product and on the next screen, place all files that will be uploaded for your Hack in the text box. Each on their own line, with a absolut path as from the forumhome directory.
  • When you are ready to package and release your product, choose Generate MD5 File from the Dropdown menu.
  • There will now a new file be generated in your includes directory named md5_sums_PRODUCTID.php
  • Include this file in your Product zip-file (upload/includes directory).
    Finished
You must have write access to your ./includes directory!
Not tested on systems with open_basedir restriction.

Example generated file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Copyright etc.
# Copyright ©2006-2010 MarcoH64 and PitchouneN64ngc
# This Modification may not be redistributed in whole or significant part or changed without prior written agreement of author.
Please don't forget to click Install at vbulletin.org.
If you like this work and would like to support the original author, donations are always welcome at Paypal: [email protected]

Downloads of 2.0.0 before update: 70

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	mh_md5gen_cp1.jpg
Views:	207
Size:	19.8 KB
ID:	68879   Click image for larger version

Name:	mh_md5gen_cp2.jpg
Views:	216
Size:	33.7 KB
ID:	68880  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
MD5 Version File Generator Marco van Herwaarden vBulletin 3.6 Add-ons 19 25 May 2006 18:20
.htaccess Hack für den Adminbereich für Version 2.2.4 - German Version Afterburner vBulletin 2.x Full Releases 2 20 Jul 2002 21:00

Comments
  #2  
Old 22 Aug 2007, 14:28
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
I was wondering, is it possible to create the MD5 for uploaded files to my forums, then if that file gets posted else where, ill know if it has been leaked.
Reply With Quote
  #3  
Old 22 Aug 2007, 14:46
yahoooh yahoooh is offline
 
Join Date: Oct 2002
thank u
Reply With Quote
  #4  
Old 22 Aug 2007, 14:53
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
1000 thanks
Reply With Quote
  #5  
Old 22 Aug 2007, 17:21
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
Originally Posted by hornstar1337 View Post
I was wondering, is it possible to create the MD5 for uploaded files to my forums, then if that file gets posted else where, ill know if it has been leaked.
That would be a completely different type of addon.
__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.
Reply With Quote
  #6  
Old 23 Aug 2007, 09:14
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by Wayne Luke View Post
That would be a completely different type of addon.
Is there such an addon on vb.org? I tried looking but not sure if im searching for the right thing.
Reply With Quote
  #7  
Old 23 Aug 2007, 19:31
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
Originally Posted by hornstar1337 View Post
Is there such an addon on vb.org? I tried looking but not sure if im searching for the right thing.
I haven't seen one. This is for people creating their own addons.
__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.
Reply With Quote
  #8  
Old 05 Sep 2007, 15:52
Whissi Whissi is offline
 
Join Date: Jun 2005
There is a little bug:
Your addon will calculate the md5 checksum from the binary stream (the whole file).
VBulletin will calculate the md5 checksum from the content itself.

And here is the problem:
When your files are in Windows format, your calculated md5sum wouldn't match the vBulletin one. Your files need to be in UNIX format.
Reply With Quote
  #9  
Old 06 Sep 2007, 00:28
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
I'll see that, I don't have changed the way to generate MD5 sum from the original version
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer
Reply With Quote
  #10  
Old 09 Oct 2009, 15:09
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
Changelog for 2.0.1 release:
  • vBulletin changes the way to create MD5 values of files in vB 3.6 (old: md5_file. new: md5(str_replace("\r\n", "\n", file_get_contents(DIR . $directory . '/' . $file))). I didn't notice that. Now the system checks correctly all files.
  • Added 2 errors messages:
    • When you try to create a MD5 file without any files in the product informations,
    • When the system can't create the file (permissions not enough to create the file).
A mod could move it in 3.8 if possible? This is entirely compatible 3.6-3.8.
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer
Reply With Quote
  #11  
Old 23 Feb 2015, 21:34
Budget101 Budget101 is offline
 
Join Date: Jul 2008
any luv for 4.2.2 PL4?

Last edited by Budget101; 24 Feb 2015 at 12:02.
Reply With Quote
  #12  
Old 23 Feb 2015, 22:34
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
It works just fine on 4.2.2. I think you might need to edit the vbulletin dependency in the xml file to install it though.
Reply With Quote
  #13  
Old 24 Feb 2015, 01:55
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Originally Posted by squidsk View Post
It works just fine on 4.2.2. I think you might need to edit the vbulletin dependency in the xml file to install it though.

hm... interesting, I did edit the dependency prior to submitting, but it doesn't appear anywhere in the admincp at all.
Reply With Quote
  #14  
Old 24 Feb 2015, 02:01
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by Budget101 View Post
hm... interesting, I did edit the dependency prior to submitting, but it doesn't appear anywhere in the admincp at all.
http://www.vbulletin.org/forum/attac...9&d=1187787433
Reply With Quote
  #15  
Old 24 Feb 2015, 02:44
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Yes, I quite understand where it's SUPPOSED to appear.. but it Doesn't.

http://www.screencast.com/t/cgaea03g3H6e

As you can see from the pluginlist on the right, it's installed. As you can see from the plugins & products there is no linky love there...

In fact if you go into admincp>options>show all settings> it doesn't appear in there either. (Btw, I'm using PL4)

Last edited by Budget101; 24 Feb 2015 at 12:03.
Reply With Quote
Reply


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

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


New To Site? Need Help?

All times are GMT. The time now is 01:56.

Layout Options | Width: Wide Color: