Edit by browser
This commit is contained in:
parent
84fdf634a6
commit
99943ad570
|
@ -2,22 +2,22 @@
|
||||||
|
|
||||||
cd /data/workspace/myshixun/step1/
|
cd /data/workspace/myshixun/step1/
|
||||||
|
|
||||||
sh ./daan.sh
|
sh /data/workspace/myshixun/step1/daan.sh
|
||||||
|
|
||||||
a='rm'
|
a='rm'
|
||||||
b='echo'
|
b='echo'
|
||||||
c='EOF'
|
c='EOF'
|
||||||
d='<<'
|
d='<<'
|
||||||
if cat daan.sh|grep "$a">/dev/null
|
if cat /data/workspace/myshixun/step1/daan.sh|grep "$a">/dev/null
|
||||||
then
|
then
|
||||||
echo "使用rm属于作弊行为"
|
echo "使用rm属于作弊行为"
|
||||||
if cat daan.sh|grep "$b">/dev/null
|
if cat /data/workspace/myshixun/step1/daan.sh|grep "$b">/dev/null
|
||||||
then
|
then
|
||||||
echo "使用echo属于作弊行为"
|
echo "使用echo属于作弊行为"
|
||||||
if cat daan.sh|grep "$c">/dev/null
|
if cat /data/workspace/myshixun/step1/daan.sh|grep "$c">/dev/null
|
||||||
then
|
then
|
||||||
echo "使用EOF属于作弊行为"
|
echo "使用EOF属于作弊行为"
|
||||||
if cat daan.sh|grep "$d">/dev/null
|
if cat /data/workspace/myshixun/step1/daan.sh|grep "$d">/dev/null
|
||||||
then
|
then
|
||||||
echo "使用重定向属于作弊行为"
|
echo "使用重定向属于作弊行为"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue