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)
-   -   Download, Upload, Edit, Rename, Delete, CHMOD Files or Dirs in Admin CP (https://vborg.vbsupport.ru/showthread.php?t=44197)

Naser 10-16-2002 10:05 PM

i`have install it in my web

www.skuwait.com/test/

but still did not work :( if i`go to vBFTP frome CP it open white windo nothing in it blz help me

Bloodfist 10-17-2002 01:08 AM

This is an excellent hack. Although I will not install it on my forums for now because I do not need it (I will be upgrade to vb3 soon anyways), I'll look for a similar version for vb3.

Great hack, like i Said.

Erwin 10-17-2002 02:36 AM

Quote:

Originally posted by Naser
i`have install it in my web

www.skuwait.com/test/

but still did not work :( if i`go to vBFTP frome CP it open white windo nothing in it blz help me

What version PHP, Apache and vBulletin are you using?

Erwin 10-17-2002 02:36 AM

There's no point giving me a link to the URL - I cannot access your Admin CP so I cannot access vB FTP.

BigCheeze 10-19-2002 01:59 AM

I m n00bie gawd!! HAHAHA!!

I figured out my problem Erwin... in PHP.INI upload via HTTP was off. I turned it on, and restarted httpd, and BOOM! Uploads work!!

w00t... w00t.. phear me!! HAHAHA!

Thanks for the great product, and the hand!!!

groovesalad 10-20-2002 06:21 PM

Why do I get this line of code added to the end of the PHP file when I download a php file using this hack?

Quote:

<a href='/forum/admin/ftp.php?path=./'>.:Back:.</a><br><br><font color='#009900'>Download completed successfully!<br><br></font><head><title>.: vB FTP Version 2.1 - by Dr. Erwin Loh :.</title><link rel='stylesheet' href='../cp.css' type='text/css'></head><br><br><div class='line_bottom'>&nbsp;</div><center>vB FTP Version 2.1 brought to you by Dr. Erwin Loh</center><br><br><br>
I need to get that to stop because it is inserting itself after the ?> and it's throwing my code off.

Erwin 10-20-2002 07:21 PM

@ Groovesalad:

When I download files, that is NOT inserted after the ?> - it's an error caused by your server, not by this hack.

What version PHP have you got installed on your server? This hack needs PHP 4.1.2 or higher. I suspect it's something not set up properly on your server. Also, in your server's PHP.INI file, make sure download via HTTP is "on". The download feature should work fine. At least for me and the other vB FTP users.

groovesalad 10-20-2002 09:11 PM

Quote:

Originally posted by Erwin
@ Groovesalad:

When I download files, that is NOT inserted after the ?> - it's an error caused by your server, not by this hack.

What version PHP have you got installed on your server? This hack needs PHP 4.1.2 or higher. I suspect it's something not set up properly on your server. Also, in your server's PHP.INI file, make sure download via HTTP is "on". The download feature should work fine. At least for me and the other vB FTP users.

I'll check on the version of PHP, not sure what version. I guess I should contact my hosting company and ask them about the PHP.INI file, because I don't think I have anything to do with that.

One quick question. I upgraded from 2.2.6 > 2.2.8. When I installed this hack now, it keeps giving me a login when I click on vbFTP in the Admin CP. I can't seem to get past that. I don't have a pass set. I tried setting one and then logging in, still no go. So I took the username and pass away from FTP.PHP and still I can't get in. Any ideas?

Erwin 10-20-2002 10:23 PM

Quote:

Originally posted by groovesalad


I'll check on the version of PHP, not sure what version. I guess I should contact my hosting company and ask them about the PHP.INI file, because I don't think I have anything to do with that.

One quick question. I upgraded from 2.2.6 > 2.2.8. When I installed this hack now, it keeps giving me a login when I click on vbFTP in the Admin CP. I can't seem to get past that. I don't have a pass set. I tried setting one and then logging in, still no go. So I took the username and pass away from FTP.PHP and still I can't get in. Any ideas?

Also, is your server Linux or Win NT based? Depending on which one it is, follow the instructions to change the setting in the vbftp.php file.

As for you login problem - have you got cookies switched on in your browser? The vBFTP program uses the same login as your Admin CP. Setting username and password in the vbftp.php adds a SECOND layer of username and password (MD5 encrypted). Both of these uses cookies, so make sure that is switched on.

For 99% of server this hack is going to work out of the box. For the remaining 1%, it's a matter of tweaking the server to make it work.

groovesalad 10-21-2002 12:50 PM

It's Win NT based and I changed the number to 1. Is there a way to get rid of that login? I have everything set correctly and it won't let me past it. I don't even need it to be there.

Erwin 10-21-2002 10:35 PM

The login shouldn't be there if you left the username and password blank. Download the ZIP and upload a fresh unchanged copy of ftp.php to your admin folder again, making sure to only change the NT setting to 1.

groovesalad 10-21-2002 10:38 PM

I cleared my cookies and tried again..everything worked :)

Wells 10-25-2002 06:58 PM

Cool, but I can not download (my dial-up can't) and install it. Someone ! please e-mail me. Plz...

Erwin 10-26-2002 05:53 AM

Quote:

Originally posted by Wells
Cool, but I can not download (my dial-up can't) and install it. Someone ! please e-mail me. Plz...
Why can't you download this hack with your dialup ISP?

adriandaz 11-03-2002 04:02 AM

this is way cool :D thanks Doc.

assassingod 11-03-2002 11:56 AM

Working fine until:

Edit: Sorted, I hadnt CHMODed the files - how stupid of me:p

getting this error when CHMODing a directory/file:
Quote:

Warning: chmod failed: Operation not permitted in /home/ffdcsite/public_html/forums/admin/ftp.php on line 253
Changed permission on to 0777.:Back:.

Erwin 11-03-2002 06:17 PM

Like I said in the first post, most servers disallow browser-based CHMODDING of files. :)

assassingod 11-03-2002 06:28 PM

Ah, yes I missed that. I see:) Thanks for the hack Erwin!:)

KaiN6993 11-08-2002 03:30 AM

Amazing!!! How do you guys do it? best hack so far.

Darkwaltz4 11-10-2002 08:46 PM

wow, ill havta say that while my co-admin thought such a add-on would be useless, i find it cuts down on so may things..

since im always hacking my boards, the ability to search files, and save them live is great! it removes about 3 major steps in hacking--excellent..

BigCheeze 11-16-2002 08:12 PM

Grrr... this is a GREAT hack. Now for some reason it stoped working locally on my LAN. Works across the WAN though...

Any clues??? (Yes it used to work, so I know something changed that "broke it"... but I don't know what) And I'm not blaming the hack... I know it's something some place on my side... but I don't know where.

Erwin 11-17-2002 04:58 AM

Check to make sure that PHP permissions for file downloads, uploads etc. are all set up properly on your server. Make sure you are using at least PHP 4.1.2 or better. Otherwise, I don't know since like you say it's something on your side, so it could be almost anything.

z3comp 11-17-2002 02:21 PM

PROBLEM! When i try to run the script, Apache Crashes.....thats right, i installed it on my localhost, and apache crashed!

HELP! I have another file manager running in the root DIR, so i know it can't be file managers in general....

Erwin 11-17-2002 05:45 PM

Quote:

Originally posted by z3comp
PROBLEM! When i try to run the script, Apache Crashes.....thats right, i installed it on my localhost, and apache crashed!

HELP! I have another file manager running in the root DIR, so i know it can't be file managers in general....

Are you running at least PHP 4.1.2? Are you running the latest version of Apache? Did you set the config file properly to make it compatible with either Linux or Windows?

Other than those suggestions, I have nothing else to add. The hack does work on most servers, but for some servers, it may just not work because of the way it's set up.

BigCheeze 11-18-2002 03:19 PM

Quote:

Originally posted by Erwin
Check to make sure that PHP permissions for file downloads, uploads etc. are all set up properly on your server. Make sure you are using at least PHP 4.1.2 or better. Otherwise, I don't know since like you say it's something on your side, so it could be almost anything.
I figured it out. It was becasue I had the zlib compression turned on in my php.ini file. It was causing all kinds of strange little problems.

Erwin 11-18-2002 05:08 PM

Glad to know it's fixed! :)

camikazi2k 11-19-2002 02:13 AM

Erwin this is an awesome hack
it would be WAY BETTER HACK if u can dothis.
implement the hack into vbulletin 2.2.8 which
1. The uploading by user would be uploaded to an FTP
2. Downloaded files would be downloaded form an ftp
two small things are they hard to do?
i know alot of ppl well love this because it will save us alot of time and money.

Erwin 11-19-2002 04:09 AM

Quote:

Originally posted by camikazi2k
Erwin this is an awesome hack
it would be WAY BETTER HACK if u can dothis.
implement the hack into vbulletin 2.2.8 which
1. The uploading by user would be uploaded to an FTP
2. Downloaded files would be downloaded form an ftp
two small things are they hard to do?
i know alot of ppl well love this because it will save us alot of time and money.

This hack is meant as an admin feature, to help you manage the files for your forum easily. It is not meant to be used to make an FTP server. :) I will not be converting this site to allow members access to the server - the potential for abuse is too great.

camikazi2k 11-19-2002 05:10 AM

sorry Erwin abuse to what. converting this to be for an ftp server will be the best hack out there ever.
as you know it cost alot of $$ to get a good ammount of space on hosting site.
i mean alot of people that have dsl or cable can run the main site on the hoting minimum and then just put there file on there PC.
it's a great hack. and it would be awesome to see it in an FTP design for users.
dont get me wrong i just want to save money and thatas wat everybody want to do

Erwin 11-19-2002 05:19 AM

What you want is a totally different hack to this one, using very different permissions, and would take a lot more time since it will need to be template-based to integrate it into vB.

When I say abuse, I mean that this will give a lot more access to your server which is a security risk.

camikazi2k 11-19-2002 04:22 PM

Is it security risk. i see no risk at all. i wont argue about it. but here is how i was think it will work
you going to have Two folders.
Folder with anyn access or user name and password with permission to read.
second folder will be an upload folder to each person personal folder
its going to work same as VB but with FTP integration
i would do it if i know anything about PHP :)

BigCheeze 11-19-2002 08:22 PM

Like I said, I'm using this a little differently. I have 2 copies of ftp.php (one called ftp.php, one called ftp2.php) in my admin directory.

The first one is to be used just to manage my forums. So it's access only starts at the /html folder. But I have the 2nd copy that I want to use to have complete access to my server (Like I said.. I really like this hack! It's GREAT!!). And becasue of the access level I want it username & password protected. But they both appear to be using the same cookie, so it's causing some strange results.

Erwin - is there anything quickly I can do to change the 2nd php file to use a different cookie?? Thanks!!!

Erwin 11-19-2002 09:38 PM

Quote:

Originally posted by BigCheeze
Erwin - is there anything quickly I can do to change the 2nd php file to use a different cookie?? Thanks!!!
In your ftp2.php, find:

cookie_username (with and without $ in front)

Change it to

cookie_username2

Do the same for cookie_password.

See if that works. :)

BigCheeze 11-20-2002 02:29 AM

Quote:

Originally posted by Erwin


In your ftp2.php, find:

cookie_username (with and without $ in front)

Change it to

cookie_username2

Do the same for cookie_password.

See if that works. :)

https://vborg.vbsupport.ru/

OOO Great Erwin... I bow to you!

https://vborg.vbsupport.ru/

THANKS! Works GREAT!!!!

BigCheeze 11-20-2002 03:30 AM

And, I made it so ftp.php won't display ftp.php or ftp2.php.

:D

Not like it's REAL secure, but it add's a little extra security so only I can access everything, but the other admin's can still access the forum. Again.. THANKS for my favorite and most used hack!!!

Davey 12-03-2002 08:53 PM

A couple of things.
For some reason (and don't start saying stuff :P) CHMODDING will not work for me.
I run my server locally (this is the part), and I KNOW there is no need for FTP access, but I want to give access to my other Administrators. Also, if I ever find a host, I will have this access to FTP using this, since no other FTP clients really please me.
Okay here's what I mean.
http://localhost/vB/admin/ftp.php?action=chmod_prompt&path=announcement.php.
This is to CHMOD 'announcement.php'. The CHMOD is 666. I click on '666' to change the CHMOD. I selected ' 7 - Write, Execute & Read' for Owner, Group and Public. It didn't CHMOD. No errors, nothing.
The other thing, is the hack on the whole is working VERY slowly. Twice as slow as other .php pages. I can't understand why, though.
Any ideas/suggestions will be appreciated.
Thanks.

Dave.

Erwin 12-03-2002 09:08 PM

What version PHP are you using? This hack needs at least 4.1.2.

As for CHMOD, you need to enable it in your php.ini. I don't know how to do this to be honest, I have my server technical guys do it.

As for the speed, this hack works fast for me. I can upload, download, edit files, etc. just as fast as I do using an FTP client.

Davey 12-03-2002 09:13 PM

Umm, I'm using php version: 'PHP Version 4.2.3'.

Dave.

Erwin 12-03-2002 09:14 PM

Security on most servers will prevent remote CHMOD via browser from working. It needs to be explicitly enabled.

Davey 12-03-2002 09:16 PM

As my signature explains, it's being run on this system as we are speaking.
Any ideas on how to do it, still?
I can access and edit any files necessary. Just explain what and how.
Thanks.

Dave.


All times are GMT. The time now is 06:44 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.01380 seconds
  • Memory Usage 1,830KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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