0
Good morning!
A customer is on the site, it runs on the console a code like this for example:
setInterval(function(){
console.log('Teste');
}, 1);
This code of his, running in his browser, can it in any way harm the speed of the site in general? From the server or something, or it’ll just harm itself?
This setInterval was just an example, it could be anything else, a for
that will leave an infinite loop for example.
It may crash is the client’s browser. Now, if he makes excessive requests to the server in a short amount of time, some people understand that this is some kind of abuse and suspend access to that IP for a few minutes.
– Sam
Dude if he’s doing it on the console I think it will only affect locally, but if he does it for an input, like an XSS attack ai can affect your page yes. Sometimes this article may interest you, it is very common this type of attack on Wordpress and Joomla in older versions and with the outdated PHP http://www.redesegura.com.br/2012/01/saiba-mais-sobre-o-crosssite-scripting-xss/
– hugocsl