分类分类
2015-06-28 00:00作者:网管联盟
find -name 'xixi.php' |xargs perl -pi -e 's|hello|aa|g'
find -name '*.html' |xargs perl -pi -e 's|aa|hello|g'
find -name '*.html' |xargs perl -pi -e 's|<script src=&a.js([^>]*)></script>||g'
Linux 当大批文件被挂马时(挂js文件),用此方法替换。
相关文章