Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #22  
Old 05-25-2004, 10:02 PM
Anub1s Anub1s is offline
 
Join Date: Jan 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was looking for something like This =D

Thanks a lot =D

i had this problem:

Warning: copy(avatar1.gif): failed to open stream: Permission denied in /home/lifestre/public_html/foro/http_upload.php on line 311
avatar1.gif could not be uploaded!

also will be cool than when the file was sucessfully uploaded, you can see the exactly url =D

and, there is a way than the files can be saved in /upload directory instead the root?
Reply With Quote
  #23  
Old 06-02-2004, 12:41 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Anub1s
i was looking for something like This =D

Thanks a lot =D


i had this problem:

Warning: copy(avatar1.gif): failed to open stream: Permission denied in /home/lifestre/public_html/foro/http_upload.php on line 311
avatar1.gif could not be uploaded!

also will be cool than when the file was sucessfully uploaded, you can see the exactly url =D

and, there is a way than the files can be saved in /upload directory instead the root?
Hi Anubis,

as already mentioned before, i do not emulate a file manager. Please use other methods for this or just copy the files into the /upload folder.

URL ? How can a file and dir based PHP file know your URL ? No way unless you implement it somewhere manually. This hack just knows your server paths and that's it. Sorry, no way for the URL.

Regarding your problem:

chmod 777 /upload

should solve your problem.

Cheers,
Reply With Quote
  #24  
Old 06-03-2004, 04:50 PM
Anub1s Anub1s is offline
 
Join Date: Jan 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

0k, thanks for you answers
Reply With Quote
  #25  
Old 06-03-2004, 05:39 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Anub1s
0k, thanks for you answers
You're welcome.

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

Due to a request here is a slightly modified version of this hack.

What has changed ?

A thumbnail preview is now available after the successfull upload which is also linked to the new uploaded file.

Please keep in mind that you should only allow GIF,JPG,JPEG and PNG files otherwise you will run into errors with the IMG tag.

Screenshot attached.

Enjoy it.

Cheers,
Reply With Quote
  #27  
Old 06-06-2004, 12:29 AM
dbroomjr dbroomjr is offline
 
Join Date: Aug 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Anub1s
also will be cool than when the file was sucessfully uploaded, you can see the exactly url =D
If you will go to hotscripts.com and do a search for file upload in PHP portion, there are two or three scripts that will show the url after upload there. I use one of them on my forum within an iframe.

Thanks,

David
Reply With Quote
  #28  
Old 06-06-2004, 12:51 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dbroomjr
If you will go to hotscripts.com and do a search for file upload in PHP portion, there are two or three scripts that will show the url after upload there. I use one of them on my forum within an iframe.

Thanks,

David
Or do a mouseover over the thumbnails and look into your status line in your browser. I linked them already to their original path. If you want this visible just correct the $advertising line in the new upload script.

Cheers,
Reply With Quote
  #29  
Old 06-11-2004, 08:34 PM
Limitter Limitter is offline
 
Join Date: Aug 2002
Location: Germany
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Pseudomizer

many thx for your help

echt nett von Dir


*install*

Limitter
Reply With Quote
  #30  
Old 06-11-2004, 08:37 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Limitter
@ Pseudomizer

many thx for your help

echt nett von Dir


*install*

Limitter
Wherever i can help. Hope you enjoy it.

Cheers,
Reply With Quote
  #31  
Old 07-08-2004, 11:41 AM
Ecron Daemon Ecron Daemon is offline
 
Join Date: Apr 2004
Location: Everywhere
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 11:39 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.04553 seconds
  • Memory Usage 2,300KB
  • 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
  • (5)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