Activity Stream
48,167 MEMBERS
6697 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48
  1.     
    #1
    Moderator
    NewEraCracker's Avatar

    Default Is your host noobish? Use this script to test.

    The developement of this script has been moved to github:
    Code: 
    https://raw.github.com/NewEraCracker/php_work/master/noobish_host.php


    v2.5.5
    PHP Code: 
    <?php
    /* 
        iS MA HOS' NOOBISH? v2.5.5
        @author   NewEraCracker
        @date     2011/07/10
        @license  Public Domain
        @notes    newfags can't triforce
    */

    // Config
    $functionsToBeDisabled = array('link''symlink''system''shell_exec''passthru''exec''pcntl_exec''popen''proc_close''proc_get_status''proc_nice''proc_open''proc_terminate');
    $functionsToBeEnabled = array('php_uname''base64_decode''fpassthru''ini_set');

    // Init
    $crlf "\r\n";
    $disabledFunctions array_map("trim"explode(",",@ini_get("disable_functions")));
    $issues = array();

    // Functions to be disabled
    foreach ($functionsToBeDisabled as $test)
    {
        if(
    function_exists($test) && !(in_array($test$disabledFunctions)))
        {
            
    $issues[] = "Function ".$test." should be disabled!";
        }
    }
    unset(
    $test);

    // Functions to be enabled
    foreach ($functionsToBeEnabled as $test)
    {
        if(!
    function_exists($test) || in_array($test$disabledFunctions))
        {
            
    $issues[] = "Function ".$test." should be enabled!";
        }
    }
    unset(
    $test);

    // Do we have access to eval?
    if( in_array("eval"$disabledFunctions) )
    {
        
    $issues[] = "Language construct eval is required to be enabled in PHP!";
    }

    // dl (in)security
    if( function_exists('dl') && !(in_array('dl'$disabledFunctions)) )
    {
        if (
    ini_get('enable_dl'))
        {
            
    $issues[] = "enable_dl should be Off!";
        }
    }

    // Safe mode?
    if (ini_get('safe_mode')) { $issues[] = "Issue: safe_mode is On!"; }

    // magic_quotes_gpc?
    if (ini_get('magic_quotes_gpc')) { $issues[] = "Issue: magic_quotes_gpc is On!"; }

    // Output results
    echo "<pre>";
    if( !
    count($issues) )
    {
        echo 
    "Host is not noobish! Ready for use!";
    }
    else
    {
        echo 
    "Your host scored ".count($issues)." noobish points!".$crlf.$crlf;

        foreach(
    $issues as $issue)
        {
            echo 
    "Issue: {$issue}".$crlf;
        }
        unset(
    $issue);
    }
    echo 
    "</pre>";
    ?>
    NewEraCracker Reviewed by NewEraCracker on . Is your host noobish? Use this script to test. The developement of this script has been moved to github: https://raw.github.com/NewEraCracker/php_work/master/noobish_host.php v2.5.5 <?php /* iS MA HOS' NOOBISH? v2.5.5 @author NewEraCracker @date 2011/07/10 @license Public Domain Rating: 5
    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    gfxfire.com url4free.com
    I doubt many people will try this without knowing what it does

  4.     
    #3
    Member
    What does this tool actually does?

  5.     
    #4
    Moderator
    NewEraCracker's Avatar
    It checks php configuration for disabled and enabled functions.

    v2.1.
    A good configuration would result in this output
    Code: 
    WOW! HOST IS NOT NOOBISH! READY FOR USE!
    A less good configuration would result in this output
    Code: 
    CONGRATULATIONS!!! YOUR HOS' SCORED 1 - THATS FUCKIN' AWESOME!!!
    v2.2.
    A good configuration would result in this output
    Code: 
    Wow! Host is not noobish! Ready for use!
    A less good configuration would result in this output
    Code: 
    Congratulations!!! Your host scored 1, check php.ini if you don't mind!
    ---
    I advise if you get higher than one to review php.ini closely.
    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

  6.     
    #5
    Member
    Website's:
    hotgirls365.com consoleden.com
    CONGRATULATIONS!!! YOUR HOS' SCORED 13 - THATS FUCKIN' AWESOME!!!

    hehe What's the highest?

  7.     
    #6
    Moderator
    NewEraCracker's Avatar
    serious security issues there

    Maximum score is 17
    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

  8.     
    #7
    Member
    Nice script
    but,
    enabling/ disabling few php functions doesn't make the hosting provider a geek / noob ..
    there are many more factors which has to be taken into account .
    and whats the use of disabling php functions , when people need it..
    a good server admin has to give access to those functions and at the same time, he should take care of the effects that the functions may cause. .

    *cough* chroot *cough*
    Coding Horror Fan
    I don't read PM's frequently .

  9.     
    #8
    ^^ Good point, there's alot of other factors in consideration. But still, nice script bud.

  10.     
    #9
    Banned
    Website's:
    HostMyWarez.com
    CONGRATULATIONS!!! YOUR HOS' SCORED 1 - THATS FUCKIN' AWESOME!!!

  11.     
    #10
    Member
    Website's:
    nationwebhost.com
    NationWebHost
    Follow us: Twitter Facebook

    Affordable Shared & Reseller Web Hosting Plans

Page 1 of 5 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Image Host Script
    By lig}{tning in forum General Discussion
    Replies: 14
    Last Post: 5th Sep 2012, 07:18 AM
  2. Best Host for Proxy Script
    By Geocodes in forum Hosting Discussion
    Replies: 8
    Last Post: 9th Aug 2012, 09:27 AM
  3. Replies: 12
    Last Post: 13th Mar 2012, 02:23 PM
  4. Dragon Host: Test Theme
    By Jamie Holle in forum Graphics Area
    Replies: 4
    Last Post: 11th Dec 2011, 02:08 PM
  5. I need to accept the script host
    By MrUp in forum Hosting Discussion
    Replies: 3
    Last Post: 18th Aug 2011, 04:24 PM

Tags for this Thread

BE SOCIAL