PHP code scraping
Posted: Tue Mar 21, 2006 4:40 am
HI,
first post here so be gentle!!
I was recently asked a question to which I could not give a definitive answer, so thought it would be good to get the communities input.
If a user was to create a file (i.e, settings.php) with a php variable in it (i.e, $pass='blahblah'; ), how easy is it for a hacker to obtain this?
I have tried myself with some page scraping code and successfully could not retrieve the value.
Thoughts?
Paul
first post here so be gentle!!
I was recently asked a question to which I could not give a definitive answer, so thought it would be good to get the communities input.
If a user was to create a file (i.e, settings.php) with a php variable in it (i.e, $pass='blahblah'; ), how easy is it for a hacker to obtain this?
I have tried myself with some page scraping code and successfully could not retrieve the value.
Thoughts?
Paul