#!/bin/bash # Iframe Detect Script By [sleed]/ # O_O # Usage: Copy all iframedetect.txt in a *.sh file . After, chmod +x *.sh file, example: iframedetect.sh, chmod +x iframedetexct.sh , # Execute: sh iframedetect.sh # All info's go to /var/iframedetect/alert.txt # Thank You! echo 'Iframe Detect Script' blacksite='1337trojan.org' echo '' path=/var/www/ echo $search sleep 1 mkdir /var/iframedetect directory=/var/iframedetect find $path \( -regex '.*\.js$' -o -regex '.*\.php$' -o -regex '.*\.htm$' -o -regex '.*\.png$' -o -regex '.*\.css$' \) -print0 | xargs -0 egrep -ir "$blacksite" /dev/null | sort >> $directory/alert.txt sleep 1 cat $directory/alert.txt |grep '</iframe>' > $directory/alert.txt Nu e mare lucru, dar poate va ajuta daca aveti pe site un posibil Cross Frame Scripting.