HotOpponents Hack

We have seen this one a few times coming from WordPress but we have also seen it in Google Analytics code or simply in a header.php file. HotOpponents is a simple redirect script but really digs down and makes roots for itself throughout your website files and database.  Here’s how we got rid of it in WordPress. Of course, you can always call us and we can clean this for you!

If you’re on a shared server, ask us about dedicated server support: we get you on a super-secure dedicated server for about the same cost as an insecure, slow, shared server (most common setup).

  1. Locate your wp-config.php file and note the database name.
  2. Open PHPMyAdmin and locate the database.
  3. Open SQL Statements and insert the following

    Remember to replace your table prefix here with the one in your database.
    Also, take notice of the GET variables in the URL, sometimes the tp=2 is different. We’ve seen zzz=3 and jp=88
  4.  That should remove the hotopponents script from your database.
  5. Replace ALL wordpress files with a clean version
  6. Next, log in via FTP and quarantine your plugins and theme files.
    1. download all files and search for malware manually – in obvious spots – header.php, index, etc…
    2. Scan your site with https://sitecheck.sucuri.net/ 
    3. Remove any malware. Many times it’s just better to flush plugins and reinstall them all, then just overwrite your theme files with the latest version or a backup.
  7. Download and install WordFence and do a site scan
  8. Finally, update all your passwords (account, (S)FTP, WordPress)
  9. Backup your site.

Nasty little hack/redirect script from some ridiculously infantile folks.

 

More Web Design Blog Content

Content Marketing Mistakes That Derail Your SEO

Don’t fall into the trap of content which won’t rank on search engines to go along with your sites top-flight graphics. All the effort and money poured into your website is for nothing if you don’t rank on a search engine. These are some common mistakes that can

Warrington Heating and Air Has a New Website

Warrington Heating and Air is a great company and they made a great choice coming to us for their website needs. Previously they had been with a company out of California. They were not happy with the results thus far. Their website was out of date, never worked

Javascript functions, variables, objects

How JavaScript Enhances Modern Web Design and User Experience

JavaScript has transformed web design, making websites more interactive, dynamic, and user-friendly. Whether you’re running an e-commerce site, a business portfolio, or a blog, JavaScript plays a crucial role in creating a memorable user experience. In this post, we’ll explore how JavaScript can be used effectively in web

Programming code on a computer screen

Simplifying JavaScript Development with Essential Tools

JavaScript is an incredibly powerful language that drives the dynamic and interactive elements of web applications. However, it can also be complex and challenging to work with, especially as projects grow in size and scope. Fortunately, there are a number of tools available that can streamline the development

Gatorland Kubota Has A New Website

A great new site for a great company with new ownership. Gatorland Kubota sells and services all kinds of farm and lawn equipment. A family owned and operated business there is no doubt that they want the best for their customers. After all, they chose livewire didn’t they?

Javascript called by PHP

Interesting little snippet. What is going on here? Livewire gives you the low down.    if($num_rowvs == 0){ echo ‘<script>// <![CDATA[ alert(“This is an alert message. I’m alerting you that you are totally awesome!”); // ]]></script>’; }   First, we’re creating a simple if statement in PHP.  Not entirely