sleed Posted March 9, 2015 Report Posted March 9, 2015 #!/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 $searchsleep 1mkdir /var/iframedetectdirectory=/var/iframedetectfind $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.txtsleep 1cat $directory/alert.txt |grep '</iframe>' > $directory/alert.txtNu e mare lucru, dar poate va ajuta daca aveti pe site un posibil Cross Frame Scripting. 2 Quote