|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 102
Members: 0
Total: 102
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Switching this off |
|
Posted: Fri Jun 04, 2004 12:19 am |
|
|
Dionysus |
Regular user |
|
|
Joined: Jun 02, 2004 |
Posts: 9 |
|
|
|
|
|
|
|
Isn't it possible to switch this off - so that it is never disclosed if an error occurs? Trace or track or something .. any thoughts? |
|
|
|
|
Posted: Fri Jun 04, 2004 2:40 am |
|
|
madman |
Active user |
|
|
Joined: May 24, 2004 |
Posts: 46 |
|
|
|
|
|
|
|
Use one or combination of these:
error_reporting(0);
ini_set('display_errors','0');
set_error_handler("foobarfunc"); |
|
_________________ ch88rs,
madman |
|
|
|
Posted: Fri Jun 04, 2004 2:56 am |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Thats right, error level can be silenced and should be in case of finalized website. Error messages are meant primarly for debuging and for admin/webmaster eyes only. And good style is to direct all the errors to custom error handler function, which will log them and decide, what to do (like for example close the site temporarily, when fatal errors occur...). |
|
|
|
|
Posted: Tue Mar 01, 2005 7:30 am |
|
|
y3dips |
Valuable expert |
|
|
Joined: Feb 25, 2005 |
Posts: 281 |
Location: Indonesia |
|
|
|
|
|
|
or u can turn it of from php.ini (admin priveledgeor u have a permission to set it on your php.ini)
display_errors = Off
log_errors = On
error_log = syslog
so error message wont display on ur browser |
|
_________________ IO::y3dips->new(http://clog.ammar.web.id); |
|
|
|
Posted: Mon Feb 06, 2006 3:58 am |
|
|
jose-l |
Beginner |
|
|
Joined: Feb 06, 2006 |
Posts: 2 |
|
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> Full path disclosure
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|