Results 1 to 10 of 48
-
31st Oct 2010, 07:33 PM #1
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: 5Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
31st Oct 2010, 07:34 PM #2BannedWebsite's:
gfxfire.com url4free.comI doubt many people will try this without knowing what it does
-
31st Oct 2010, 07:35 PM #3Member
What does this tool actually does?
-
31st Oct 2010, 07:37 PM #4
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!
Code:CONGRATULATIONS!!! YOUR HOS' SCORED 1 - THATS FUCKIN' AWESOME!!!
A good configuration would result in this output
Code:Wow! Host is not noobish! Ready for use!
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
-
31st Oct 2010, 07:40 PM #5MemberWebsite's:
hotgirls365.com consoleden.comCONGRATULATIONS!!! YOUR HOS' SCORED 13 - THATS FUCKIN' AWESOME!!!
heheWhat's the highest?
-
31st Oct 2010, 07:41 PM #6
serious security issues there
Maximum score is 17Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
31st Oct 2010, 07:54 PM #7Member
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 .
-
31st Oct 2010, 09:51 PM #8
^^ Good point, there's alot of other factors in consideration. But still, nice script bud.
-
31st Oct 2010, 10:12 PM #9BannedWebsite's:
HostMyWarez.comCONGRATULATIONS!!! YOUR HOS' SCORED 1 - THATS FUCKIN' AWESOME!!!
-
31st Oct 2010, 10:20 PM #10MemberWebsite's:
nationwebhost.com
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Image Host Script
By lig}{tning in forum General DiscussionReplies: 14Last Post: 5th Sep 2012, 07:18 AM -
Best Host for Proxy Script
By Geocodes in forum Hosting DiscussionReplies: 8Last Post: 9th Aug 2012, 09:27 AM -
[Selling] Mp3 Search Engine, File Host, SMS Script, Arcade Script, PDF Search Script, and More!
By Fileze in forum Completed TransactionsReplies: 12Last Post: 13th Mar 2012, 02:23 PM -
Dragon Host: Test Theme
By Jamie Holle in forum Graphics AreaReplies: 4Last Post: 11th Dec 2011, 02:08 PM -
I need to accept the script host
By MrUp in forum Hosting DiscussionReplies: 3Last Post: 18th Aug 2011, 04:24 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...