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)

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 08:20 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.02109 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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