We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!

Answered index.php Source

    • 36473
    • 2 Posts
    Hi All,

    I have created a site 2 yrs back in MODx 0.9.6.
    But recently it was hacked (I am investigating on to it ). And the hacker overwrote my index file.
    For instance solution i deleted the hacked version of index.html. But as i am now out of my country so i have to restore the site as quickly as possible So i need the sample index.php. Thanks in advance for all offering me the help.
    I dont have any backups and cannot setup new site installation to obtain index.php (As i am currently out of my country and dont have required access) So looking for help in the forum.

    P.S. the attacker were virus_of_jordan and once i am back to my country will dig further how it got hacked.

    Thanks in advance.
    Cheers

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You should definitely upgrade; there are a number of security vulnerabilities that have been patched in the versions since then. The latest Evolution version is 1.0.5.

      That said, here's the index.php from 0.9.6
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 36473
        • 2 Posts
        Thank you sottwell.
        I will definitely look for upgrade to Revolution.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Upgrading to Revo is not a simple matter. It's a different code base altogether from Evo.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org