You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
555 B

#!/bin/bash
# (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
#
# All Rights Reserved. See copyright.txt for details and a complete list of authors.
# Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
# $Id$
# Script to remove _htaccess which can be browsed unless hidden
# these files give an attacker useful information
if [ ! -d 'db' ]; then
echo "You must launch this script from your (multi)tiki root dir."
exit 0
fi
find . -name _htaccess -type f -exec rm -f {} \;
echo "Done."