Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> What Is The Path Of File Uploaded In Etc Folder?
mayank
post Oct 25 2006, 05:36 PM
Post #1


Mankie
*********

Group: Members
Posts: 763
Joined: 22-July 05
From: New Delhi, India
Member No.: 9,746
myCENT:ZERO



Hey, Can anyone tell me that what is the path of the file which I've uploaded in the ETC folder.
To make you clear....ETC folder is the one which is just along with public_html and not inside public_html

Will it be something like.... /home/user/etc/

If anyone can help me, I'll be greatful..thanks
Go to the top of the page
 
+Quote Post
rvalkass
post Oct 25 2006, 06:20 PM
Post #2


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,240
Joined: 28-May 05
From: Devon, England
Member No.: 7,593
Spam Patrol
myCENT:61.46



I'd hazard a guess at /home/user/etc as you have suggested. However, I'm not sure that a script could actually access that folder, I've never tried.
Go to the top of the page
 
+Quote Post
jlhaslip
post Oct 25 2006, 07:34 PM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,301
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:63.90



I think you might want to chmod the file, and that file would not be web accessible. It would only be accessed from the ftp and a software inside your public_html or lower. ie: public_html/forum/here/index.html by traversing back up the route like this ../../../etc/file.html.
My thoughts, anyway.
*edit*
yes, tested using http://www.jlhaslip.trap17.com/../etc/filename.ext and a 400 Bad Request error occurs.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. File Backups from cpanel(12)
  2. Help With Ftp And Downloading File(1)
  3. Read File (.txt) On Another Website Using Jsp?(3)
  4. Can't Upload .htaccess And .mdu File...(5)
  5. Subdomain Folders(3)
  6. Setting Permissions With Php File Uploader(6)


 



- Lo-Fi Version Time is now: 23rd November 2008 - 09:22 AM