Edit by browser
This commit is contained in:
parent
e97cb5d971
commit
1afb081ac4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue