Support

Admin Tools

#40479 PHP File Change Scanner reporting the same four files every day

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.3
PHP version
8.1.27
Admin Tools version
7.4.8

Latest post by peterader on Monday, 25 March 2024 03:53 CDT

peterader

Hi, I have the PHP file change scanner running once a day and for almost two weeks now it's reporting the same four files every day. The files have a last modified date of 26.7.2023 or 5.9.2019

Every day I mark them as safe but the next day they are picked up by the scanner again. The file hashes in the report are the same. Would you have any ideas what's causing that and how I can fix it?

libraries/vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/ED512.php
libraries/vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/Ed256.php
libraries/vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/ED256.php
libraries/vendor/web-auth/cose-lib/src/Algorithm/Signature/EdDSA/Ed512.php

 

On a side note, the button "Mark all as safe" doesn't work for me. The page reloads but no files are marked safe. I need to select all checkboxes and click "All Actions" - "Mark Safe".

I checked the request and the server responds with a 303 code. Doesn't seem right. See second attachment.

Best regards,
Pete

peterader

What I noticed is that they are duplicated file names except once with lower case D and once with uppercase. I compared it with a different Joomla installation and the uppercase D files don't exist. Not sure where they came from but they're not recent. I suppose their existence is causing the file scanner to detect them as modified and deleting them will fix the issue. I'll wait for your response in case you want to dig deeper.

nicholas
Akeeba Staff
Manager

Correct. You need to delete the wrongly named files. Probably they come from a Windows system which also explains why they appear modified (CRLF vs LF line termination).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

peterader

Hi Nicholas,

Deleting the files solve the issue. Thanks for your swift reply!

Best regards,
Pete

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!