latheesan
New member
Hi All,
I just found out about an interesting way scammers are scamming my players.
If they used multiple spaces, they can pretend to be anyone (especially GM/Admin) and trick users to give their account details away or in worst case get them to install TeamViewer etc...
Let me show you what I mean.
If I am logged in user Adam for example and I want to impersonate gm Latheesan, as "Adam", this is what I would type in a chat room:
Hi Latheesan : Hi, can you install TeamViewer and give me id/pass?
In the game, here's a demo showing how this looks and renders:
So, in a busy chat room, players can be easily tricked into thinking a GM/Admin is talking to them and they do what they are told (even tho there's an ad/warning plastered all over the game not to give out account details >.>
Anyway, now you know how it's done, is there a way to prevent this?
The easiest solution I can think of is to prevent multiple spaces in chat.
If this was in PHP, I would have used regex to replace multiple occurrences of spaces into one like this example:
$input = 'Hi Latheesan : Hi, can you install TeamViewer and give me id/pass?';
$output = preg_replace('!\s+!', ' ', $input);
Could effectively do something similar in Hercules as a plugin? Can someone help me out?
I am pretty sure this should be standard in Hercules, i.e. not being able to use multiple spaces (atleast a config for it or something...)
I just found out about an interesting way scammers are scamming my players.
If they used multiple spaces, they can pretend to be anyone (especially GM/Admin) and trick users to give their account details away or in worst case get them to install TeamViewer etc...
Let me show you what I mean.
If I am logged in user Adam for example and I want to impersonate gm Latheesan, as "Adam", this is what I would type in a chat room:
Hi Latheesan : Hi, can you install TeamViewer and give me id/pass?
In the game, here's a demo showing how this looks and renders:
So, in a busy chat room, players can be easily tricked into thinking a GM/Admin is talking to them and they do what they are told (even tho there's an ad/warning plastered all over the game not to give out account details >.>
Anyway, now you know how it's done, is there a way to prevent this?
The easiest solution I can think of is to prevent multiple spaces in chat.
If this was in PHP, I would have used regex to replace multiple occurrences of spaces into one like this example:
$input = 'Hi Latheesan : Hi, can you install TeamViewer and give me id/pass?';
$output = preg_replace('!\s+!', ' ', $input);
Could effectively do something similar in Hercules as a plugin? Can someone help me out?
I am pretty sure this should be standard in Hercules, i.e. not being able to use multiple spaces (atleast a config for it or something...)
Last edited by a moderator: