Line 32... |
Line 32... |
32 |
# for the existence of the security log tables. If a database contains the tables, it will run the script to remove
|
32 |
# for the existence of the security log tables. If a database contains the tables, it will run the script to remove
|
33 |
# anything over $KEEPDAYS days old.
|
33 |
# anything over $KEEPDAYS days old.
|
34 |
#
|
34 |
#
|
35 |
# this is a quick script and has only been tested on one single system, where the root user had access to all MySQL
|
35 |
# this is a quick script and has only been tested on one single system, where the root user had access to all MySQL
|
36 |
# functions without password. Modifications will need to be made on systems which are more secure.
|
36 |
# functions without password. Modifications will need to be made on systems which are more secure.
|
- |
|
37 |
#
|
- |
|
38 |
# This script is available via subversion at
|
- |
|
39 |
# svn co http://svn.dailydata.net/svn/sysadmin_scripts/trunk/Wordpress/cleanWPSecLogs
|
- |
|
40 |
# NOTE: the above repository is a working copy from Daily Data, which can be modified as required without notification
|
37 |
|
41 |
|
38 |
|
42 |
|
39 |
use strict;
|
43 |
use strict;
|
40 |
use warnings;
|
44 |
use warnings;
|
41 |
|
45 |
|