Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Loging all PHP requests |
|
Author |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Sun 21 Jul '13 16:06 Post subject: Loging all PHP requests |
|
|
It appears there is a.php script on my server which a former friend of mine has uploaded and which reads out a joomla config file and then deletes the tables of its database.
I've already changed the password and username numerous times without success...
I've also checked who has access to the config file with windows auditing and it appears that the php process is accessing it just before the tables get deleted.
So I will have to find the .php file responsible for this.
Does anyone know a way of loging all .php accessed files in Apache or php? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 22 Jul '13 12:13 Post subject: |
|
|
Use a prepend file in php.ini that logs the requested url |
|
Back to top |
|
gijs
Joined: 27 Apr 2012 Posts: 189 Location: The Netherlands
|
Posted: Mon 22 Jul '13 14:35 Post subject: |
|
|
James Blond wrote: | Use a prepend file in php.ini that logs the requested url |
Could you explain how to do this exactly? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|