The js code you pasted looks genuine, however it looks like complete code was not copied. Mostly the malicious script will be injected at the top or end of the file in case of .js file. Since there was no malicious script at the top, I guess it was at the end. Glad to know that the issue is fixed.
↧