Forum

Custom report : try...
 
Notifications
Retirer tout

Custom report : try to hack detected

4 Posts
2 Utilisateurs
0 Reactions
552 Vu
jmmbb
(@jmmbb)
Posts: 561
Noble Member
Début du sujet
 
[#9878]

Hello,

i use custom report plugin on project.
My projects are customized with some fields, one of them is "RSSI", from resource list with value : idRSSI__idResource

When i try to get custom report (see attachement), i get a TRY TO HACK :

2025-06-26 08:15:13.749 ** ERROR ** [V12.1.2] [12] HACK ================================================================
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] Try to hack detected
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] Source Code = SqlElement->_construct : id 'JEAN-JOSEPH Frédéric (ICDD)' is not numeric for class Resource
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] QUERY_STRING = print=true&page=../report/object/Project.php?idTemplate=5&context=download&objectClass=Project&objectId=000070&orientation=P&csrfToken=e198bc0ae871f2ddb39630fb6886e4ffd27f8ed084d818b018043a74acf2949b4e3b80&directAccessIndex=&outMode=word
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] REMOTE_ADDR = 192.168.5.14
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] SCRIPT_FILENAME = /var/www/html/DSI/view/print.php
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] CONNECTED USER = #12 - j.bremont2
2025-06-26 08:15:13.750 ** ERROR ** [V12.1.2] [12] === Trace Stack for last error ===
2025-06-26 08:15:13.751 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/tool/projeqtor.php at line 1709 calling debugPrintTraceStack()
2025-06-26 08:15:13.751 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/model/persistence/SqlElement.php at line 795 calling traceHack()
2025-06-26 08:15:13.751 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/model/ResourceMain.php at line 157 calling SqlElement:__construct()
2025-06-26 08:15:13.751 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/model/Resource.php at line 39 calling ResourceMain:__construct()
2025-06-26 08:15:13.751 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/plugin/templateReport/templateReportExecute.php at line 117 calling Resource:__construct()
2025-06-26 08:15:13.752 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/report/object/Project.php at line 3 calling include()
2025-06-26 08:15:13.752 ** ERROR ** [V12.1.2] [12] => /var/www/html/DSI/view/print.php at line 304 calling include()
2025-06-26 08:15:13.752 ** ERROR ** [V12.1.2] [12] ===
2025-06-26 08:15:13.752 ** ERROR ** [V12.1.2] [12] REQUEST_URI = /DSI/view/print.php?print=true&page=../report/object/Project.php?idTemplate=5&context=download&objectClass=Project&objectId=000070&orientation=P&csrfToken=e198bc0ae871f2ddb39630fb6886e4ffd27f8ed084d818b018043a74acf2949b4e3b80&directAccessIndex=&outMode=word
2025-06-26 10:15:23.214 ----- DEBUG ----- loginCheck : current db version = 'V12.1.2'

Note that RSSI is not used in template report (error come during data generation).

Regards,
 


 
Posté : 26/06/2025 12:21 pm
jmmbb
(@jmmbb)
Posts: 561
Noble Member
Début du sujet
 

Even with very simple template, error occurs (see template attached).


 
Posté : 26/06/2025 12:26 pm
(@babynus)
Posts: 14952
Membre Admin
 

Which version of Template Report plugin are you using ?


 
Posté : 28/06/2025 4:33 pm
jmmbb
(@jmmbb)
Posts: 561
Noble Member
Début du sujet
 

I'm using V3.0 on ProjeQtOr V 12.1.2


 
Posté : 01/07/2025 5:30 pm
Share:
Retour en haut