rd1109
Forum Replies Created
-
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?I will contact my hosting provider. Could the .htaccess file have anything to do with the problem?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?In replacing the WordPress files, I neglected step 3: Deactivate plugins. I don’t know what this is about, how to do it.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Yes, I replaced them. When I try to access my blog in a browser, I still get nothing. It tries to download a file called “download” which has 0 bytes. This is what happened in the first place when my blog was down. My database is intact online. The config files is unchanged, and the original wp-content files are still there. What have I missed?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?So, I replaced everything with a fresh version of WordPress, except for the wp-config file and the wp-content files. I could not find a folder for “uploads” in the downloaded WordPress program, so I don’t have a fresh “index.php” for that.
Also, nothing works yet, so what do I do?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Ok, so I’m looking at my compromised file ./public/blog/culture/wp-content/index.php
How do I tell which is the malicious code?
[malware code removed by moderator]
- This reply was modified 7 years, 10 months ago by James Huff. Reason: malware code removed
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Oh, I’m guessing I’m supposed to compare the fresh install versions of index.php files with my infected files. Given my lack of understanding of how any of this works, do you think I’ll be able to figure this out?
While I’m at it, in addition to installing WordPress on my server where it is, is it also possible to install it on my personal computer?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?These are the quarantined files from one blog (meaning that the files are accessible to me but not the public:
./public/blog/culture/wp-content/index.php
./public/blog/culture/wp-content/plugins/index.php
./public/blog/culture/wp-content/themes/index.php
./public/blog/culture/wp-content/uploads/index.phpMy understanding is that I have to save these and remove the infections in order to restore the blog. The rest of the existing WordPress installation can be deleted and a fresh version installed.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Once again, I already know that the infected files are all “wp-content/…./index.php” files. I can easily delete and reinstall everything else, but I have to do something with these files, as I have no other copies. As for the linked pages, the one that seems to be relevant is How to Remove Suspicious Code From WordPress Sites: https://www.wordfence.com/learn/remove-suspicious-code-wordpress/ . I can’t make any sense out of this, though. I haven’t the slightest understand of what malicious code looks like. I don’t think you appreciate that what may be obvious to you is a complete mystery to those not expert in this matter.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?I am not going to hire any companies. I know how to use text editors but I haven’t the slightest idea of what I am supposed to do, what I am supposed to edit out of these files. I have a handful of these files to disinfect but I don’t know what to do with them.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?I see a detailed list of instructions for checking a hacked site. I also see links to related web pages. I remain unclear about how to actually remove malware code from the infected files, which I have already identified. They are all wp-content/…./index.php files. I have no backups. I need to know how to fix these infected files specifically. There must be some antivirus/malware program that can do this.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Thanks. I am awaiting access to my quarantined files (the relevant files are the “wp-content” files) from my web hosting service. The actual database remains online in separate folders, and I have my offline backup as an SQL file (I don’t know what GZ is, but I have that too.)
So when a new WordPress installation is installed, will it use the online database already there? I am not aware that there is a problem with that.
Also, for disinfecting the “wp-content” files, is a conventional antivirus program sufficient?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?I don’t understand what to do based on the recommended web page. Offline I have a backed up SQL file, and a GZ file, whatever that is. Online, I see that the databases are stored separately from the WP files. I have a list of hacked files, all of which have been quarantined, that is taken out of the active WP installation online. I don’t see from the web page what to do. It says you need to use the same version of WP that you used originally. I don’t know which one that is. Nor do I know how to go about replacing parts of the WP installation. There is nothing on this page that tells me specific steps to take.
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?I actually have a long list of infected files provided by my host. They are all in subfolders of “wp-includes” and “wp-content”. I don’t remember which version of WordPress I was using. How do I determine that?
Forum: Localhost Installs
In reply to: what to do with SQL backup when site is infected?Thanks. I will follow those suggestions. I backed up the site long ago, but in any case, will an anti-virus check on the backup SQL suffice to detect an infection? I don’t really have an idea of how anti-virus programs work with such files–perhaps no different from any other?
Forum: Fixing WordPress
In reply to: Lost password, email retrieval not workingI also checked out this page: https://codex.wordpress.org/Resetting_Your_Password
… using the simplest option “Through phpMyAdmin”. I could be doing something wrong.I assumed my SQL database would have the current password, but various login attempts did not work. I haven’t tried changing anything.