View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Try to hack and cron stop every night - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

16 septembre 2025 (10h30-12h)

2 octobre 2025 (16h-17h30)

6 novembre 2025 (10h30-12h)

 
 

Planifiez avec ProjeQtOr

17 et 18 septembre 2025 (9h-12h30)

8 et 9 octobre 2025 (9h-12h30)

19 et 20 novembre 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

24 et 25 septembre 2025 (9h-12h30)

15 et 16 octobre 2025 (9h-12h30)

26 et 27 novembre 2025 (9h-12h30)

 

 

 

Try to hack and cron stop every night

More
03 Sep 2025 10:13 - 03 Sep 2025 10:15 #1 by Lionel70
Hello,

I'm getting this error messages every night at 1:00 AM:

2025-09-03 01:00:03.408 ===== TRACE ===== Logfile->purge() : Technical trace to keep current log file
2025-09-03 01:00:04.006 ***** ERROR ***** [V12.2.2] HACK ================================================================
2025-09-03 01:00:04.006 ***** ERROR ***** [V12.2.2] Try to hack detected
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  Source Code = checkDisplayMenuForUser() Reject for menu 'Admin'
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  QUERY_STRING =  csrfToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&directAccessIndex=
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  REMOTE_ADDR = XX.XX.XX.XX
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  SCRIPT_FILENAME = /var/www/projeqtor/tool/cronRelaunch.php
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  CONNECTED USER = # -
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]     Last connection =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]        Last access =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]        Disconnection =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  === Trace Stack for last error ===
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/projeqtor.php at line 1734 calling debugPrintTraceStack()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Security.php at line 460 calling traceHack()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/adminFunctionalities.php at line 28 calling Security:checkDisplayMenuForUser()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronExecutionStandard.php at line 359 calling require_once()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 610 calling cronRunConsistencyCheck()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 449 calling Cron:run()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronRelaunch.php at line 30 calling Cron:relaunch()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  ===
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  REQUEST_URI = /tool/cronRelaunch.php?csrfToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&directAccessIndex=
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2] CRON abnormally stopped
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2]  === Trace Stack for last error ===
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 324 calling debugPrintTraceStack()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronRelaunch.php at line 28 calling Cron:abort()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  => calling cronAbort()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  ===

The "Try to hack" is a false positive. I've checked and there is no traffic between the server and the REMOTET_ADDR or any other IP address.The REMOTE_ADDR is the IP of the last disconnected user (either by automatic or manual disconnection). I'm certain this user is disconnected, their computer is off, and DHCP has not assigned the address to another device.

The problem started a long time ago (a year or so?) and I can't say which version it began on.

Any advice on where to look to solve this problem would be greatly appreciated.
Thank you in advance for your help.

Best regards,
Lionel
Last edit: 03 Sep 2025 10:15 by Lionel70.

Please Connexion or Create an account to join the conversation.

More
04 Sep 2025 12:07 #2 by babynus
Hi,
This is not a false positive, it is a right positive, due to constraint you may have changed.
On configuration, user Admin is created with id #1.
This is the user we use to run the Cron.
So :
 - you must not delete with id #1
 - user with id #1 must have Administrator profile
 - user with id #1 must have acces to screen "Administration" (this is by default given by profile Administrator)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
09 Sep 2025 09:47 - 09 Sep 2025 11:10 #3 by Lionel70
Hi,

Thanks for your quick response.

I've checked the configuration based on your feedback. The only change I made was renaming the user from "Admin" to "Admin_XXXX" but keeping the ID #1.

The user with ID #1 was never deleted. It still has the "Administrator" profile and access to the "Administration" screen.

Since your last message, I've even changed the user's name back to "Admin", but the "Try to hack" error persists and the cron job still stops abnormally.

Thank you again for your help.

Lionel

EDIT : something I forgot to mention: the first user to log in at the start of the day is automatically logged out, even if he logged out correctly the previous day. The next login attempt is then successful.
Last edit: 09 Sep 2025 11:10 by Lionel70.

Please Connexion or Create an account to join the conversation.

More
11 Sep 2025 23:40 #4 by babynus
The log out of first user is probably due to Cron restart that fails.
The cron is designed to restart automatically if it is stopped unexpectedly.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
11 Sep 2025 23:41 - 11 Sep 2025 23:42 #5 by babynus
Can you please check that the admin user (id #1) has access to menu "Administration" ?

Babynus
Administrator of ProjeQtOr web site
Last edit: 11 Sep 2025 23:42 by babynus.

Please Connexion or Create an account to join the conversation.

More
Yesterday 08:42 - Yesterday 08:49 #6 by Lionel70
Hi,

Yes, Admin user with id #1 can access to menu "Administration" . Please see screenshot.

Thanks for you help, have a good day,
Lionel

 
Attachments:
Last edit: Yesterday 08:49 by Lionel70.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.090 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.