From 4c862e33fd8de42c7aea4ee81947e688476bf355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=86=A0=E7=BE=A4?= Date: Wed, 21 Oct 2020 11:28:53 +0800 Subject: [PATCH] Edit by browser --- step1/jiance.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/step1/jiance.sh b/step1/jiance.sh index 2a7f3d3..c7df17d 100644 --- a/step1/jiance.sh +++ b/step1/jiance.sh @@ -9,6 +9,8 @@ b='echo' c='EOF' d='<<' e='>>' +f='ZhangSan' +g='WangWu' if cat /data/workspace/myshixun/step1/daan.sh|grep "$a">/dev/null then echo "使用rm属于作弊行为" @@ -24,6 +26,14 @@ then if cat /data/workspace/myshixun/step1/daan.sh|grep "$e">/dev/null then echo "使用重定向属于作弊行为" +if cat /data/workspace/myshixun/step1/daan.sh|grep "$f">/dev/null +then + echo "禁止出现人名" +if cat /data/workspace/myshixun/step1/daan.sh|grep "$g">/dev/null +then + echo "禁止出现人名" +fi +fi fi fi fi