From 57adc03f87ccb8bf9956c5a37c655e28d401e3d5 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 15 Jun 2022 15:56:59 +0000 Subject: [PATCH] #24: Add powershell user agents --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6e10228..c6115ab 100644 --- a/main.go +++ b/main.go @@ -247,7 +247,7 @@ func main() { func isReqFromCmdLine(ua string) bool { parts := strings.SplitN(ua, "/", 2) switch parts[0] { - case "curl", "HTTPie", "httpie-go", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik", "xh": + case "curl", "HTTPie", "httpie-go", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik", "xh", "WindowsPowerShell", "PowerShell": return true } return false