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

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

你可能感兴趣的:(服务器)