|
|
|
|
![]() ![]() |
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 |
|
|
|
Oct 25 2006, 06:20 PM
Post
#2
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,240 Joined: 28-May 05 From: Devon, England Member No.: 7,593 ![]() 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.
|
|
|
|
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: [MODERATOR] Posts: 4,301 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() 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. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 23rd November 2008 - 09:22 AM |