Edit by browser

This commit is contained in:
张冠群 2020-10-19 11:19:39 +08:00
parent e97cb5d971
commit 1afb081ac4
1 changed files with 5 additions and 0 deletions

View File

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