diff --git a/step1/jiance.sh b/step1/jiance.sh index 850f0ad..2a7f3d3 100644 --- a/step1/jiance.sh +++ b/step1/jiance.sh @@ -8,6 +8,7 @@ a='rm' b='echo' c='EOF' d='<<' +e='>>' if cat /data/workspace/myshixun/step1/daan.sh|grep "$a">/dev/null then echo "使用rm属于作弊行为" @@ -20,6 +21,10 @@ then if cat /data/workspace/myshixun/step1/daan.sh|grep "$d">/dev/null then echo "使用重定向属于作弊行为" +if cat /data/workspace/myshixun/step1/daan.sh|grep "$e">/dev/null +then + echo "使用重定向属于作弊行为" +fi fi fi fi