Photo.scr ve Video.scr virüsü php, html ve/veya asp gibi web sitesi dosyalarına bulaştı ise önce hangi dosyalarda olduğunu kontrol edip daha sonra tüm sayfalardan bu kodu sildiriyoruz.
Web sitesinin olduğu klasöre gidiyoruz
cd /var/www/html/website.com/
grep -Ril 'Photo.scr' .
for file in $(find . -mindepth 1 -type f); do sed -i 's/<iframe src=Photo.scr width=1 height=1 frameborder=0><\/iframe>/ /g' $file; done
Linux
hakkında diğer konular