freshpeppermint
hi.
- Joined
- Nov 11, 2021
- Messages
- 295
- Likes
- 56
- Degree
- 0
Guys I got hacked what should I do to remove index.php? It keeps updating back to the old one.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
That means some other file on the server is the actual source of the hack, and it's what keeps updating index.php. If you can access your WP Dashboard, install the Wordfence plugin. Run a full scan using that plugin and it will tell you which files are malicious and let you autorestore the original files.Guys I got hacked what should I do to remove index.php? It keeps updating back to the old one.
I tried that, and deleted and repaired the old files but the index.php file still autogens. I even changed my panel login (this changes FTP logins). It still somehow gets updated. So yeah I am still lost. There's these .htaccess files in almost every folderThat means some other file on the server is the actual source of the hack, and it's what keeps updating index.php. If you can access your WP Dashboard, install the Wordfence plugin. Run a full scan using that plugin and it will tell you which files are malicious and let you autorestore the original files.
Hmm in that case I would probably contact your hosting support to see if they can find anything. Having .htaccess files in different directories isn't uncommon nor inherently bad, depending on the contents of the file.I tried that, and deleted and repaired the old files but the index.php file still autogens. I even changed my panel login (this changes FTP logins). It still somehow gets updated. So yeah I am still lost. There's these .htaccess files in almost every folder
My host said he can't do anything. I wonder what is causing autogenning.Hmm in that case I would probably contact your hosting support to see if they can find anything. Having .htaccess files in different directories isn't uncommon nor inherently bad, depending on the contents of the file.
You missed a file somewhere. It’s hiding in there somewhere, possibly in theme files or anywhere in the file structure. The best move is to change nothing at first and go through every folder and sort by the most recently edited date.My host said he can't do anything. I wonder what is causing autogenning.
They should not redirect to your homepage. You should be showing a 404 or 410 HTTP error code, period.Yo guys so my sites got hacked and I think I got all of it fixed but like you guys know what to do with like there's 100k or 1 mil pages indexed on search console. When I do site:mysite it shows japanese things but like when I click on these (even on a proxy) it sends me to my homepage.
Also is there a way to confirm/know whether the hack is removed or not?
Hits IP Address UserAgent
----- -------------- ------------------------------------------------------------------------------------------------------------
63344 66.249.72.175 Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/ ...... e; Googlebot/2.1; +http://www.google.com/bot.html)
Put Cloudflare CDN before your server. It should help dramaticallyYo what do I do to fix this? I tried lower crawl thing by setting it to low setting but siteground is still telling me this:
Code:Hits IP Address UserAgent ----- -------------- ------------------------------------------------------------------------------------------------------------ 63344 66.249.72.175 Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/ ...... e; Googlebot/2.1; +http://www.google.com/bot.html)
it's showing me that 3 of my sites are getting these high CPU usage. It's closing my entire hosting account. The weird thing is these aren't even the highest traffic site. I don't know what to do. Anyone know how to fix this?
$user_agent = $_SERVER['HTTP_USER_AGENT']; // user browser info
$ip_address = $_SERVER["REMOTE_ADDR"]; // user ip address
$page_name = $_SERVER["SCRIPT_NAME"]; // page they're looking at
$query_string = $_SERVER["QUERY_STRING"]; // what query they used
$url = json_decode(file_get_contents("http://api.whatever.com/?key="userapikey"?ip=".$_SERVER['REMOTE_ADDR']."&format=json"));
$country=$url->countryName; // user country
$city=$url->cityName; // city
I was going to say that XML-RPC is the intended way, but I'm not aware of what problems are now in it.What's the best way to post on Wordpress using Python these days?
There is the wordpress_xmlrpc library, but it doesn't seem to be maintained has some deprecations that break it.