#!/bin/bash
if [ X$1 = Xscan ]
then
find ./ -type f > scanlist
else
if [ X$1 = Xhtaccess ]
then
find ./ -name .htaccess > htaccesslist
else
if [ X$1 = Xiframe ]
then find ./ -type f | xargs grep -li iframe > iframelist
else
if [ X$1 = Xhelp ]
then
echo "scan - scanlist"
echo "htaccess - htaccesslist"
echo "iframe - iframelist"
fi
fi
fi
fi