Edit by browser

This commit is contained in:
张冠群 2020-10-19 11:03:45 +08:00
parent 84fdf634a6
commit 99943ad570
1 changed files with 5 additions and 5 deletions

View File

@ -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