From 2dfeeecd9ed96ad98740591c0718a7b9de8eb239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=86=A0=E7=BE=A4?= Date: Mon, 19 Oct 2020 10:53:46 +0800 Subject: [PATCH] Edit by browser --- step1/jiance.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/step1/jiance.sh b/step1/jiance.sh index 131e9f7..6c6265c 100644 --- a/step1/jiance.sh +++ b/step1/jiance.sh @@ -7,6 +7,7 @@ sh ./daan.sh a='rm' b='echo' c='EOF' +d='<<' if cat daan.sh|grep "$a">/dev/null then echo "使用rm属于作弊行为" @@ -16,6 +17,10 @@ then if cat daan.sh|grep "$c">/dev/null then echo "使用EOF属于作弊行为" +if cat daan.sh|grep "$d">/dev/null +then + echo "使用重定向属于作弊行为" +fi fi fi fi \ No newline at end of file