UnamSanctam / UnamWebPanel

MIT License
164 stars 60 forks source link

large error_log file inside api folder #335

Open sn00rlax opened 5 months ago

sn00rlax commented 5 months ago

Hi,

I've noticed the error_log file inside the "api" folder is becoming larger and larger. After opening it it's pointing to this line of code and it's repeated thousands of times inside the file:

PHP Notice: Undefined index: stealthfound in /home/xxxxx/public_html/xxxxxxxxxxxx.com/UnamWebPanel/api/endpoint.php on line 18

Line 18 inside endpoint.php is:

return htmlspecialchars($data[$key]) ?? '';

I'm not skilled enough to know what's causing this, can someone help please?

Thanks

UnamSanctam commented 5 months ago

You can update your web panel here: https://github.com/UnamSanctam/UnamWebPanel/releases, that's an older version of the XSS protection panel.