vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   HTTP Upload Hack (https://vborg.vbsupport.ru/showthread.php?t=64680)

gmarik 05-04-2004 02:51 PM

any demos?

Pseudomizer 05-04-2004 05:12 PM

Quote:

Originally Posted by gmarik
any demos?

I guess no one will give you the link to upload any files to their webserver. Bad request.

But i will attach the screenshots, so you can see how simple this is.

Cheers,

Oldfart 05-15-2004 08:59 PM

I have a question.

Would it be possable to make this hack to be able to download as well as upload from the same directory?

I guess I should explain. What i'm looking for is a non PHP MySql upload/download program for my website. I have pafiledb but I can't upload anything larger than 2mbs because of my hosts php upload settings. I have over 7 gig's worth of web space that I pay for but never use anywheres close to it and I would like to allow my members to be able to use some of this unsed space.

Thanks for your reply.

Pseudomizer 05-16-2004 01:19 AM

Quote:

Originally Posted by Oldfart
I have a question.

Would it be possable to make this hack to be able to download as well as upload from the same directory?

I guess I should explain. What i'm looking for is a non PHP MySql upload/download program for my website. I have pafiledb but I can't upload anything larger than 2mbs because of my hosts php upload settings. I have over 7 gig's worth of web space that I pay for but never use anywheres close to it and I would like to allow my members to be able to use some of this unsed space.

Thanks for your reply.

Hi Oldfart,

the PHP setting for the upload is per default 2MB. You have to change this setting to upload more then 2MB. If you want to upload into a MySQL database then you have to edit your .cnf file to allow bigger uploads into the DB.

This is an HTTP upload with PHP files and this will always rely on the php.ini setting. If you are not able to edit the 2MB limit, then this hack will not help you at all. Sorry, but no way to get around this.

Cheers,

d3nnis 05-18-2004 01:17 PM

hi how is it possible to modify to integrate into vbulletin(requires registration before they can use)? I would like to have some image hosting for my community members.

Pseudomizer 05-18-2004 01:31 PM

Quote:

Originally Posted by d3nnis
hi how is it possible to modify to integrate into vbulletin(requires registration before they can use)? I would like to have some image hosting for my community members.

Take this at the beginning:

PHP Code:

if($bbuserinfo[userid]!=0)


and at the end put this:

PHP Code:

}
else
{
    echo 
"You are not logged in";


But please keep in mind that this upload hack allows the upload of any file. It is not limited to just graphics. So they could upload any php file and run it.

This is DANGEROUS !!!!!!!!!

Cheers,

d3nnis 05-19-2004 01:56 AM

Quote:

Originally Posted by Pseudomizer
Take this at the beginning:

PHP Code:

if($bbuserinfo[userid]!=0)


and at the end put this:

PHP Code:

}
else
{
    echo 
"You are not logged in";


But please keep in mind that this upload hack allows the upload of any file. It is not limited to just graphics. So they could upload any php file and run it.

This is DANGEROUS !!!!!!!!!

Cheers,

so how do i restrict to certain file types only?

Pseudomizer 05-19-2004 07:03 AM

Quote:

Originally Posted by d3nnis
so how do i restrict to certain file types only?

This needs some recoding work. Will be added in the next version.

Cheers,

subu1 05-19-2004 11:05 AM

klasse super und eingebaut, es sei noch zu erw?hnen dem Ordner die 777 zu geben;)

Pseudomizer 05-20-2004 02:47 PM

Hi @LL,

this version is now obsolete. I have just posted the next version for this upload hack. You can find it here.

This version will no longer be supported !!!

Cheers,


All times are GMT. The time now is 02:47 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.01053 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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