Advertisement:

Author Topic: Forum Hacked...need help!  (Read 2249 times)

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Forum Hacked...need help!
« on: April 09, 2012, 01:39:29 AM »
Dear Friends...

I've started a SMF forum to learn more about hosting and PHP, MYSQL. But some how the site has been hacked... there was approx 2000 topics and 10000 + posts. The hackers have replced the index.php . My Server Host told me there are few other sites are whoch also have been hacked. They told me restoring only index.php will solve the problem. But at the moment I dont have the file.. How can I get index.php

Further if I wish to temporally stop the forum for a couple of month, what backup should I have to restart the forum... Only MySql data base will be enough or not...?

Thanks in advance

Offline Donn H

  • Jr. Member
  • **
  • Posts: 148
  • Gender: Male
    • Yatosha
Re: Forum Hacked...need help!
« Reply #1 on: April 09, 2012, 02:07:19 AM »
Did u do a back up lately? If you did then use that back up. Or if you find a file named index.php~ just rename it to index.php
Cheap webhosting +24 hours

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #2 on: April 09, 2012, 06:00:21 AM »
I dont have any backup  :(

Offline BlondChick

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Female
  • Smile, tomorrow will be worse.
    • Amazing-Dreamz
Re: Forum Hacked...need help!
« Reply #3 on: April 09, 2012, 06:21:50 AM »
First make a backup of your database and your server.

Download SMF (version of your forum) and unpack it somewhere on your computer. Upload index.php to your server. Check your forum.

It's best to make a backup from your forum and it's database when you stop the forum for a couple of months. It's also good practice to backup your forum frequently.

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #4 on: April 09, 2012, 06:57:03 AM »
First make a backup of your database and your server.

Download SMF (version of your forum) and unpack it somewhere on your computer. Upload index.php to your server. Check your forum.

It's best to make a backup from your forum and it's database when you stop the forum for a couple of months. It's also good practice to backup your forum frequently.

Will this index.php work... I mean this file is meant for installation of SMF

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,607
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: Forum Hacked...need help!
« Reply #5 on: April 09, 2012, 07:09:25 AM »
If you haven't installed any mod that edits index.php, then that default file from the installation package will work fine.

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #6 on: April 09, 2012, 09:07:26 AM »
If you haven't installed any mod that edits index.php, then that default file from the installation package will work fine.

but I've installed lots of mods

Offline Donn H

  • Jr. Member
  • **
  • Posts: 148
  • Gender: Male
    • Yatosha
Re: Forum Hacked...need help!
« Reply #7 on: April 09, 2012, 09:27:13 AM »
If you haven't installed any mod that edits index.php, then that default file from the installation package will work fine.

but I've installed lots of mods

if you installed a lot of mods then there must be that index.php~ which is a back up
« Last Edit: April 09, 2012, 10:47:22 AM by Donnxxl »
Cheap webhosting +24 hours

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #8 on: April 11, 2012, 03:33:47 AM »
If you haven't installed any mod that edits index.php, then that default file from the installation package will work fine.

but I've installed lots of mods

if you installed a lot of mods then there must be that index.php~ which is a back up

probably its not there...

I was running on SMF 1.1.11... Can I reinstall SMF 1.1.16 or SMF 2.X..? Will it work? But for this I dont have the password of MySQL data base... hope there will be some option to reset the password.

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #9 on: April 12, 2012, 09:21:12 AM »
I tired to install SMF 2.0.2 but the database is not working... what to do?  :(

Offline Чичо ви Гого

  • Semi-Newbie
  • *
  • Posts: 55
  • Gender: Male
  • Edu.
Re: Forum Hacked...need help!
« Reply #10 on: April 12, 2012, 11:39:14 AM »
It's a very good practice to backup your forum frequently. I wish you good luck: http://www.simplemachines.org/community/index.php?topic=400356.0

Probably it will help you!

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #11 on: April 12, 2012, 12:18:10 PM »
MySQL data is safe... how can I re install?

Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #12 on: April 13, 2012, 10:15:42 AM »
I have uploaded MySQL data, then installed SMF 1.1.11. At my first attempt I installed and created a database as SMF use to do while installation... then tried to connect the database with help of repair_settings.php but it doesnot worked. Then I take another attempt where I installed the SMF but didnot created new database, but put the values of my existing database details. At the stage of username and password I created a new id. Even after this the old members and topic/posts are not visible. What to do...?

Can any one do it for me...? I'm willing to change my host now... I'm fadeup with them and according will change the forum url also. I have only my previous MySQL database and willing to upgrade to SMF 2.0.2


Offline bestfriendavinash

  • Jr. Member
  • **
  • Posts: 159
  • Gender: Male
  • ~ ~ Fun With Best Friends ~ ~
    • Fun With Best Friends
Re: Forum Hacked...need help!
« Reply #13 on: April 13, 2012, 11:08:05 AM »
I've done it... dont know how...but done it!!Upgraded to SMF2.0.2 as well.

But have to change the domain name...will it be a big deal for a new person like me?

The SMF manual is just awesome!!

Thank you guys! Marked as solved...but do reply about change in domain name!