Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
HTTP Upload Hack Version 2.0 Details »»
HTTP Upload Hack Version 2.0
Version: 1.00, by Pseudomizer Pseudomizer is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-19-2004 Last Update: Never Installs: 26
 
No support by the author.

Welcome to the new Update for the HTTP Upload Hack from Pseudomizer.

Do you need version 1.0 for this hack ?

No. This is independant from version 1.0.

What is new compared to the version 1.0 ?

- user authentification is now per config file or per VBulletin database
- new file extension filter to prevent unwanted files to be uploaded
- new overwrite setting to either overwrite or deny the upload
- usergroup authentification against VBulletin database

Changes:

- sessions have been removed because some people could not work due to register_globals off
- all variables are now $_POST and can not be passed via URL

Installation:

For new installs and upgraders:
Open the http_upload_config.php file in an editor and make the appropriate changes BEFORE you upload the files to your forum directory.

Upgrade from 1.0 to 2.0 only:
Remove the old files ( http_upload_config.php, http_upload.php ) and place the new files in the forum root folder.

New Install only:
Just place the 2 files into your forum root directory.

Enjoy it. :devious:

Again: I take no responsibility if someone accidently deletes important files with this hack. This hack is dangerous if misconfigured. So please READ CAREFULLY the config file. If you have any questions or something is unclear feel free to ask in the Thread. I would be more then happy to answer to every question.

IMPORTANT: Support will only be given if the install button in this forum thread has been pressed. So please take the time now to click the install button after your installation. Thanks. :classic:

Cheers,

Pseudomizer

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-20-2004, 07:06 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rookie7
I might be wrong but I don't think you can upload more than 2 MB in most hosts since it is configured in php.ini . There's a way around that, but...I don't think your host will be happy if they found out. :nervous:
You are right about the 2MB. But you can go up to 11MB before VBulletin will reject the upload. This only applies for VBulletin uploads.

My hack does not rely on the VBulletin database so there are the following limitations per default:

- 2MB max due to php.ini
- 30 secs due to timeout set in php.ini

The second limitation can be altered via your php file by adding the following line at the beginning of your php file:

PHP Code:
ini_set("max_execution_time""3600"); 
This will give you 10 minutes for uploading but please keep in mind, that many providers are preventing things like this and if you work around their limitation then your account will be disabled very quickly.

The first limitation can not be altered via script. So you need access to the php.ini file to be able to alter this setting.

Cheers,
Reply With Quote
  #13  
Old 05-20-2004, 09:38 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent work. Thanks.
Reply With Quote
  #14  
Old 05-20-2004, 09:56 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i mean quotas
quota means a total of allowed diskspace by that user
Reply With Quote
  #15  
Old 05-20-2004, 10:09 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
no i mean quotas
quota means a total of allowed diskspace by that user
I am fully aware of what quotas are. Again the question: How do you want to trace what files have been uploaded and which file size they have ? What if he replaces a file and does not add a new file ?

This is not possible to trace that unless you create something special like:

forum/Folder1 for user hugo
forum/Folder 2 for user martin

in both folders you place the http_upload.php but you have to modify each php file for a specific user. You have to run a command to get the directory size of the specific folder and then calculate what he wants to upload. If the size exceeds a specific size ( which you have to set for each php file individually ( or create one global settings file ) then you block the upload.

But this hack does not have a folder management included, does not have usermanagement included, does not have sizing checks included and does not react on specific user accounts. It just reacts on usergroup permissions.

Your request would be very specific and it would take some time to develop something like this. But i doubt that this request will become very popular or not ?

What is your aim ? What do you want to achieve ?

Cheers,
Reply With Quote
  #16  
Old 05-20-2004, 11:24 PM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still waiting for you to add on the file type restriction,Pseudomizer
Reply With Quote
  #17  
Old 05-20-2004, 11:40 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d3nnis
still waiting for you to add on the file type restriction,Pseudomizer
D3nnis ? I think you missed something. Please read again all new features for this update. I HAVE implemented a file type restriction. Did you read the whole posting 1 in this thread ?

Cheers,
Reply With Quote
  #18  
Old 05-21-2004, 05:16 AM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
D3nnis ? I think you missed something. Please read again all new features for this update. I HAVE implemented a file type restriction. Did you read the whole posting 1 in this thread ?

Cheers,

oops miss that out, sorry!

by the way since u added this new restriction, i can safely mod it into a image hosting module rite? by the way... where are these files uploaded to?
Reply With Quote
  #19  
Old 05-21-2004, 09:57 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d3nnis
oops miss that out, sorry!

by the way since u added this new restriction, i can safely mod it into a image hosting module rite? by the way... where are these files uploaded to?
In the same directory where you http_upload.php file is located.

Cheers,
Reply With Quote
  #20  
Old 05-21-2004, 04:56 PM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
In the same directory where you http_upload.php file is located.

Cheers,

cool, do i need to chmod permission this directory?
Reply With Quote
  #21  
Old 05-21-2004, 06:44 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d3nnis
cool, do i need to chmod permission this directory?
Hi D3nnis,

yes. The Webserver needs write access to this directory. Some people just go with 777.

Cheers,
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05268 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete