vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Upload Hack (https://vborg.vbsupport.ru/showthread.php?t=37233)

Slynderdale 04-09-2002 10:00 PM

Upload Hack
 
Im a newbie at php, and this is my first hack, its a uploader i made that uses your vbulletin forum's accounts and pass to upload files into there private folder, it also lets people view what files they uploaded, it also logs when, who, what file was uploaded and the size of the forum to a text file. When some one uplaods it creates a sub folder thats the same as there username and a blank index.html file so no one can browse through there stuff and then uploads the image into there personal sub folder, you can also edit authvb to only alow certain usergroups to upload.

How to setup:
Open config.php and change the settings to how you want them
upload config.php,upload.php and authvb.php
chmod the folder where the log file will go and where the account sub folders will be places so there read and write, probily 0777

Thats it, now go to upload.php and use your vbulletin account and pass and upload a file

Coming soon:
Delete feature
File count limit

Slynderdale 04-09-2002 11:15 PM

Screen Shot:
Heres the Main Screen

Slynderdale 04-09-2002 11:16 PM

Heres after you upload a file:

Slynderdale 04-09-2002 11:16 PM

Heres the view menu screen:

Slynderdale 04-09-2002 11:19 PM

Heres how the log looks:

Dade 04-09-2002 11:39 PM

So this is like having a private folder full of your own pictures? Pretty cool.

Slynderdale 04-09-2002 11:42 PM

yea, you can also set what file types are allowed to be uploaded too, so if you want you could allow .html and let your memmbers create mini web pages, you can set what file types are allowed to be uploaded and the size and theres a couple other features, one way is to let users upload images to show on forums useing [ img ]

freakyshiat 04-09-2002 11:47 PM

Ok, can I upload to a different server? I am trying to separate attachments and have them uploaded to a server other than the one the forum is hosted on

Slynderdale 04-09-2002 11:48 PM

Heres what it looks like on ftp, each user has there own folder to upload to, the user folders automaticly get created

Slynderdale 04-09-2002 11:52 PM

mine only works on the server its located on at the moment


All times are GMT. The time now is 02:00 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.01267 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete