Open WhatTheHellx2 opened 2 years ago
Highly appreciate the heads up 👍
However the config file is a server only file. Therefore clients won't download or see the config.lua in joining the server.
oh i see , my bad about config files then , but still client_exports still exposed to clients and with a aggressive even normal loops with big data they can nuke and hang your server (fxserver) / or nuking the discord which results in big timeout from discord webhook server. i had such problem before that's why was concern about this issue
Interesting, what I will do is on the next commit I will remove the client side porting. If you spot anything else please let me know, as these scripts are all WIP
i can suggest that if the client is not going to call those exports aggressively , you can put a delayer on those so that client can call the exports like every 1 sec only , just a though tho
exposing webhooks on config file which can be accessed easily is a big mistake along with allowing clients to send discord message and console message , they can easily nuke your server/discord .