diff --git a/step1/jiance.sh b/step1/jiance.sh index 131e9f7..6c6265c 100644 --- a/step1/jiance.sh +++ b/step1/jiance.sh @@ -7,6 +7,7 @@ sh ./daan.sh a='rm' b='echo' c='EOF' +d='<<' if cat daan.sh|grep "$a">/dev/null then echo "使用rm属于作弊行为" @@ -16,6 +17,10 @@ then if cat daan.sh|grep "$c">/dev/null then echo "使用EOF属于作弊行为" +if cat daan.sh|grep "$d">/dev/null +then + echo "使用重定向属于作弊行为" +fi fi fi fi \ No newline at end of file