From f0c3d1b654e5ce0058e169d36dceab5985c293b7 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Tue, 12 Oct 2021 10:05:40 +0800 Subject: [PATCH] update --- core/test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/test.go b/core/test.go index 6fe0d47..e86be1b 100644 --- a/core/test.go +++ b/core/test.go @@ -301,6 +301,10 @@ Alias=sillyGirl.service` s2.Reply(err) return nil } + if strings.Contains(data, "file_get_contents") { + ss := strings.Split(data, "\n") + return ss[len(ss)-1] + } return data }, `[\s\S]*`, time.Duration(time.Second*300)) if stop == true {