服务器被上传非法文件,查找命令

linux
find . -name "*.jsp" | xargs egrep -lw "createNewFile| File\(| File|application.getRealPath"
windows系统
findstr /S /M /D:e:\T6_lucene /C:"createNewFile" /C:" File " /C:" File(" /C:"application.getRealPath" *.jsp

 

find . -name "*.jsp" | xargs egrep -liw "createNewFile| File\(| File |application.getRealPath"


findstr /S /M /D:e:\T6_lucene /C:"createNewFile" /C:" File " /C:" File(" /C:"application.getRealPath" *.jsp

posted @ 2013-07-29 11:23  悟寰轩-叶秋  阅读(318)  评论(0编辑  收藏  举报