Edit by browser
This commit is contained in:
parent
84fdf634a6
commit
99943ad570
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue