From 79d6718f8d520a55a2283fb3ec2860781bcbada6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=B5=B7?= <37897216+wikiZ@users.noreply.github.com> Date: Fri, 1 Jul 2022 10:37:30 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3293cb6..f1aba06 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ You can directly download and use the compiled version, or you can download the git clone https://github.com/wikiZ/RedGuard.git cd RedGuard # You can also use upx to compress the compiled file size -go build -ldflags "-s -w" +go build -ldflags "-s -w" -trimpath # Give the tool executable permission and perform initialization operations chmod +x ./RedGuard&&./RedGuard @@ -152,7 +152,7 @@ As shown in the figure above, in the case of unauthorized access, the response i In the above basic interception case, the default interception method is used, that is, the illegal traffic is intercepted by redirection. By modifying the configuration file, we can change the interception method and the redirected site URL. In fact, this The other way is a redirect, which might be more aptly described as hijacking, cloning, since the response status code returned is 200, and the response is taken from another website to mimic the cloned/hijacked website as closely as possible. -Invalid packets can be misrouted according to two strategies: +Invalid packets can be misrouted according to three strategies: - **reset**: Terminate the TCP connection immediately. - **proxy**: Get a response from another website to mimic the cloned/hijacked website as closely as possible.