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