linux text replace with many files

当前目录下,所有index.html中包含木马的文字替换

find . -name index.html |xargs perl -pi -e ‘s/<iframe src=http:\/\/msn.vnm3.cn\/wmpu\/msn.htm width=1 height=1><\/iframe>//i’

http://www.oreilly.com/pub/h/73

Tags:

About the Author