Posted on May 2, 2008, 2:57 pm by guy
| |
|
Alrighty then, but chech this out: www.nogangs.com/blahboard_broken
This is what you will get:
[nextBBS]
Warning: main(hacks.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web262/b2622/ipw.nogangsc/public_html/blahboard_broken/index.php (216)
at require() (/hermes/bosweb/web262/b2622/ipw.nogangsc/public_html/blahboard_broken/index.php:216)
Source Code:
207$TEMPLATE->php_handling = SMARTY_PHP_REMOVE; // default: do not allow php tags
208$TEMPLATE->security = TRUE; // Pseudo-safe mode
209$TEMPLATE->security_settings['MODIFIER_FUNCS'] = array('substr');
210$TEMPLATE->trusted_dir = array(); // No trusted directory. Ever.
211//
212$TEMPLATE->register_outputfilter("template_postfilter");
213// END Template system
214
215// Users hacks
216require "hacks.php";
217$HACKS = new Hacks();
218
219$HACKS->hook('mainbegin');
220
221// Use an output buffer?
222$no2buf = (isset($INPUT['no2buf'])?true:false);
223if(!$no2buf)
224 ob_start();
225
226// Test a list of pages which should not cause the current auth_key to be replaced
Variables:

|