[dokuwiki] Re: Strange attack on the wiki

  • From: John Madden <weez@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 9 Sep 2006 09:02:06 -0400

On Saturday 09 September 2006 05:37, Chris Smith wrote:
> // must be run within dokuwiki
> if (!defined('DOKU_INC')) die();

Even easier: don't name shell scripts with a php extension (or don't write 
your shell scripts in php, which is silly to begin with ;)).  If it isn't 
meant for the web, don't distribute the files as ready to run by the web 
server.

John




-- 
# John Madden  weez@xxxxxxxxxxxxx: http://www.nerdarium.com
# FreeLists: Free mailing lists for all: //www.freelists.org
# Linux, Apache, Perl and C: All the best things in life are free!
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: