Changeset 2870801
- Timestamp:
- 02/24/2023 11:14:03 PM (3 years ago)
- Location:
- files-fence/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
filesfence.php (modified) (1 diff)
-
src/Admin.php (modified) (3 diffs)
-
src/Scanner.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
files-fence/trunk/README.txt
r2825466 r2870801 3 3 Tags: security, files security, files, checksum security, files integrity 4 4 Tested up to: 6.1 5 Stable tag: 0.1. 25 Stable tag: 0.1.3 6 6 Requires PHP: 7.4 7 7 License: GPLv2 or later … … 24 24 25 25 0.1.1 03-nov-22 fix: update the scanned version on wp update, and add .user.ini, php.ini, error_log to the ignored files 26 0.1.2 23-feb-22 Add the Processing time, and fix properly the recognition of the error_log file in the multiple folders, and recognition of the php.ini and .htaccess file -
files-fence/trunk/filesfence.php
r2825466 r2870801 6 6 * Author: TocinoDev 7 7 * Author URI: https://tocino.mx 8 * Version: 0.1. 28 * Version: 0.1.3 9 9 * Tested up to: 6.1 10 10 * Requires PHP: 7.4 -
files-fence/trunk/src/Admin.php
r2825466 r2870801 32 32 <h4>Current version of WordPress: <?php echo esc_html(get_bloginfo('version')); ?></h4> 33 33 <h4>Current version checked of WordPress: <?php echo esc_html(get_option('filesfence_wp_version')); ?></h4> 34 <h4>Processing Time: <?php echo round(get_option('filesfence_search_main_files', 0), 3); ?></h4> 34 35 <h3>Unknown or Modified Files (<?php echo count($unknown_checksums); ?>)</h3> 35 36 <table class="wp-list-table widefat fixed striped table-view-list posts"> … … 37 38 <tr> 38 39 <td style="width: 700px;">File Name</td> 39 <td style="width: 120px">Status </td>40 <td style="width: 120px">Status or Type</td> 40 41 <td>MD5 Hash</td> 41 42 <td>MD5 Hash Original</td> … … 55 56 && $data['md5_hash'] !== $known_checksums[$filename]['md5_hash_original']){ 56 57 echo 'Modified Known File'; 57 } else if($filename == 'error_log'){ 58 echo 'Modified Log File'; 58 } else if(str_ends_with($filename, 'error_log')){ 59 echo 'Modified LOG File'; 60 } else if($filename == 'php.ini'){ 61 echo 'PHP Configuration File'; 62 } else if($filename == '.htaccess'){ 63 echo 'Server Configuration File'; 59 64 } else if(isset($ignored_checksums[$filename]['md5_hash_original']) 60 65 && $data['md5_hash'] !== $ignored_checksums[$filename]['md5_hash_original']){ -
files-fence/trunk/src/Scanner.php
r2811314 r2870801 24 24 $this->process_files(ABSPATH, ''); 25 25 26 // this is for testing and benc k purposes26 // this is for testing and benchmark purposes 27 27 $end = microtime(true); 28 28 $time = $end - $start;
Note: See TracChangeset
for help on using the changeset viewer.