Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    10

    Default Hacked Server - copy sql from slave

    My server got rooted and cannot be consoled it anymore.
    The DC will put in a new drive with CentOS and leave the old one as slave
    How can i recover/copy my accounts and sql databases from the old drive and have it work?

    Thank you so much

    I had apf/bfp/no ssh for root and i still got pwned

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by webvision View Post
    My server got rooted and cannot be consoled it anymore.
    The DC will put in a new drive with CentOS and leave the old one as slave
    How can i recover/copy my accounts and sql databases from the old drive and have it work?

    Thank you so much

    I had apf/bfp/no ssh for root and i still got pwned
    Having APF and BFD are not enough to secure a server. This thread might help you restore your files:
    http://forums.cpanel.net/showpost.ph...34&postcount=7
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    10

    Default

    thank you for the information
    I finally got the new server up and old hd mounted

    Will i be able to move the files back even though i used to have apache1.3 and now they put apache2 and if the sql version is different?

    Any problems with this?

    Thank you

  4. #4
    Member
    Join Date
    Jun 2007
    Posts
    10

    Default

    i just did rsync of one home directory and it says it's copying the files but when i do an ls on the directory it doesn't show them..

    I created the new account manually and then did the rsync of the home dir files for the account

Similar Threads & Tags
Similar threads

  1. Servers Hacked - Preventing SQL Inject?
    By jrianto in forum Security
    Replies: 15
    Last Post: 03-06-2010, 09:45 AM
  2. Servers Hacked - Preventing SQL Inject?
    By jrianto in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 01-25-2010, 11:22 PM
  3. Hacked Server - copy sql from slave
    By webvision in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-13-2007, 09:56 PM
  4. how to restore sql from slave disk
    By Norcomp in forum Database Discussions
    Replies: 2
    Last Post: 05-04-2007, 12:34 AM
  5. how to restore sql from slave disk
    By Norcomp in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-04-2007, 12:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube