Re: Trouble Installing 'phpbb2' Blank .php pages

From: Trev (trevorthorpe_at_gmail.com)
Date: 09/28/04


Date: 28 Sep 2004 08:55:59 -0700

I'd like to add a bit more info here, sorry my 1st post was in haste
=)

--
  I get the distinct impression that the php files are not being
"found".
  Once a white page is loaded ie -config.php- I view source...
  Results:
  <html><body></body></html>
 
  I test out the common.php page directly,
  "hacking attempt" is on the resulting page =)
Code in the php that results in "Hacking attempt"  
I read this as if not defined in "IN_PHPBB" <- not sure what this
variable is yet though..
  if ( !defined('IN_PHPBB') )
{
        die("Hacking attempt");
}
 
My alias works fine for this directory,
 As you can see there is a phpinfo.php page here, I can view that and
get results normally from directing my browser to it
<site address>/phpbb/phpinfo.php
Here is a file listing.
monster:/var/www/phpbb2/site# ls -l
total 412
drwxr-xr-x  2 root root  4096 2004-09-27 08:38 admin
-rw-r--r--  1 root root  6675 2004-07-29 13:51 common.php
-rw-r--r--  1 root root   993 2004-07-29 13:51 config.php
drwxr-xr-x  2 root root  4096 2004-09-27 08:38 db
-rw-r--r--  1 root root   810 2004-07-17 11:58 extension.inc
-rw-r--r--  1 root root  3643 2004-07-17 11:58 faq.php
-rw-r--r--  1 root root 45641 2004-07-17 11:58 groupcp.php
drwxr-xr-x  3 root root  4096 2004-09-27 08:38 images
drwxr-xr-x  2 root root  4096 2004-09-27 08:38 includes
-rw-r--r--  1 root root   240 2004-07-29 13:51 index.htm
-rw-r--r--  1 root root 14515 2004-07-17 11:58 index.php
drwxr-xr-x  3 root root  4096 2004-09-27 08:38 language
-rw-r--r--  1 root root  7479 2004-07-17 11:58 login.php
-rw-r--r--  1 root root 12150 2004-07-17 11:58 memberlist.php
-rw-r--r--  1 root root 37639 2004-07-17 11:58 modcp.php
-rw-r--r--  1 root root    17 2004-09-27 10:17 phpinfo.php
-rw-r--r--  1 root root 34446 2004-07-17 11:58 posting.php
-rw-r--r--  1 root root 72578 2004-07-17 11:58 privmsg.php
-rw-r--r--  1 root root  3753 2004-07-17 11:58 profile.php
-rw-r--r--  1 root root 42692 2004-07-17 11:58 search.php
lrwxrwxrwx  1 root root    21 2004-09-27 08:38 templates ->
/etc/phpbb2/templates
-rw-r--r--  1 root root 23154 2004-07-17 11:58 viewforum.php
-rw-r--r--  1 root root  7234 2004-07-17 11:58 viewonline.php
-rw-r--r--  1 root root 45150 2004-07-17 11:58 viewtopic.php
--> BOTTOM LINE <--
 I am sure php is installed correctly. I wonder though if there is a
version problem.. ?!?!?
 Other then that it almost feels like these files are not being seen..
some sort of phpbb2 setting somewhere perhaps.. ?!?!?!
 Thoughts ?
  Theories ?


Relevant Pages

  • [cansecwest :: pentesters] Advanced PHP Hacking
    ... I'd like to announce a Security Master's Dojo course during next ... Title: Advanced PHP Hacking ... PHP is a worldwide web language used by individuals as well as companies ... Information Assurance Certification Review Board ...
    (Pen-Test)
  • Re: |OT| Current trend in c.l.php
    ... RoR or still with PHP? ... Also been hacking away at my main pet project, see signature - new version out ... http://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool ...
    (comp.lang.php)
  • [Full-disclosure] [cansecwest] Advanced PHP Hacking
    ... I'd like to announce a Security Master's Dojo course during next ... Title: Advanced PHP Hacking ... PHP is a worldwide web language used by individuals as well as companies ... thanks to this complete information warfare operation. ...
    (Full-Disclosure)
  • [cansecwest] Advanced PHP Hacking
    ... I'd like to announce a Security Master's Dojo course during next ... Title: Advanced PHP Hacking ... PHP is a worldwide web language used by individuals as well as companies ...
    (Security-Basics)
  • PHP hacking sites...
    ... I have a grasp of a lot of php programming, but not enough to apply it to hacking. ... I am by far not a programmer and understand javascript hacking enough to do some basic audits for javascript. ... Does anyone have any good reading material for PHP hacking and even a check list style motions for Auditing PHP apps? ...
    (Pen-Test)