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
  #32  
Old 07-08-2004, 06:37 PM
Ecron Daemon Ecron Daemon is offline
 
Join Date: Apr 2004
Location: Everywhere
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't worry, i solved the problem! Found the solution!
Reply With Quote
  #33  
Old 07-08-2004, 08:02 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ecron Daemon
It seems impossible to change the directory destination of the files uploaded!

I put the two files of this hack on a subdirectory of the forum and with chdir I make the file read global.php. The Problem is that all the files uploaded, are in the root forum directory and not in the subdirectory where the 2 hack files are.

Any suggestion?
After this line:

Code:
        $file_name = stripslashes($file_name);
        $file_name = str_replace("'","",$file_name);
add this:

Code:
        $file_name = 'YOURSERVERPATH'.$file_name;
and replace YOURSERVERPATH with for example /srv/www/htdocs/forum/httpuploadir

Cheers,
Reply With Quote
  #34  
Old 07-12-2004, 04:10 PM
H2k H2k is offline
 
Join Date: Apr 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i think this is a great mod.. but ican i know where all File will go ..

i think if u update this mod ..

For Exmaple In the Server There is a Files

Files in this Files who ever will uploud any file for Exmpale

Files/NicknameHere/anyfile.jpg

it's add the nickname of the person thankyou and let me know where all the file will be uploud .. and can we do this way to add inside the folders file the nick name of the person..

thanks.
Reply With Quote
  #35  
Old 07-12-2004, 04:29 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by H2k
ok i think this is a great mod.. but ican i know where all File will go ..


i think if u update this mod ..

For Exmaple In the Server There is a Files

Files in this Files who ever will uploud any file for Exmpale

Files/NicknameHere/anyfile.jpg

it's add the nickname of the person thankyou and let me know where all the file will be uploud .. and can we do this way to add inside the folders file the nick name of the person..

thanks.
Hi H2k,

i am very sorry, but your english is ... not easy to understand.

To answer your question: The files will be stored in the /forum folder and if you apply the modification from above it will save the file to the directory you specify.

If you want to create folders with your usernames then you have to modify this hack to create the corresponding directories. If you want to do that, feel free to do the changes. I created this hack for some people who needed an independant upload ability. What you are asking is something totally diffent and there are upload hacks out there which should satisfy your needs.

Please correct me if i am wrong but i tried to understand what you wrote.

Cheers,
Reply With Quote
  #36  
Old 07-12-2004, 05:00 PM
H2k H2k is offline
 
Join Date: Apr 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello iam sorry about my english ..

what i mean is .. all file is stored in the directory /forums.... it should be in one folders we creat For example

Say that we creat one folders called

"Files" and each user will be uploud it will creat folder with their name

for example

File/Nickname/uploud_hack.zip

so all the file of the user who will uploud it will be stored in him folder "File/Nickname/file.zip"

i dont no if we can do this or not

know if i try to uploud any File it's only let me 9 if i need more .. like 12,13,14 how can i change it .. and if i need all file be stored in one file that me i creat also how ..

thankyou amd i hope u understand my english
Reply With Quote
  #37  
Old 07-12-2004, 05:59 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by H2k
hello iam sorry about my english ..

what i mean is .. all file is stored in the directory /forums.... it should be in one folders we creat For example

Say that we creat one folders called

"Files" and each user will be uploud it will creat folder with their name

for example

File/Nickname/uploud_hack.zip

so all the file of the user who will uploud it will be stored in him folder "File/Nickname/file.zip"

i dont no if we can do this or not

know if i try to uploud any File it's only let me 9 if i need more .. like 12,13,14 how can i change it .. and if i need all file be stored in one file that me i creat also how ..

thankyou amd i hope u understand my english
Yes, i understood you but you did not understood my answer from above. What you are asking for is a complete upload system for users. This is not the intention of this hack. There are already hacks out there which do that for you. It does not make sense to recreate this hack to become an complete upload system for users. This hack is for administrators and nothing else. Hope this make things clear now.

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 10:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04059 seconds
  • Memory Usage 2,277KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (3)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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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