Finding database passwords in PHP code?

Patton Echols p.echols at comcast.net
Fri Jan 20 17:57:15 UTC 2012


> On Fri, Jan 20, 2012 at 11:34 AM, Patton Echols<p.echols at comcast.net>  wrote:
>> First question:
>> If I download the PHP for the website, what would I search for in order to
>> find the passwords?
>> (would that work?)
>
On 01/20/2012 09:39 AM, Jeffrey Gray wrote:
> I have always seen the login info stored in a seperate file on the web
> server but within the web domain's location on the server...In other
> words, the passwords is not stored in the served php file but is
> called from another file that SHOULD have permissions set to 600.
>
> -Jeff Gray
>

Thanks, Rather than examine manually, is there particular PHP syntax for 
Passwords I can search for?







More information about the ubuntu-users mailing list