Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Custom report : try...
 
Notifications
Clear all

Custom report : try to hack detected

4 Posts
2 Users
0 Reactions
589 Views
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 
[#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,
 


 
Posted : 26 Jun 2025 12H21
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

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


 
Posted : 26 Jun 2025 12H26
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Which version of Template Report plugin are you using ?


 
Posted : 28 Jun 2025 16H33
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

I'm using V3.0 on ProjeQtOr V 12.1.2


 
Posted : 01 Jul 2025 17H30
Share:

Scroll to Top