#24: Add powershell user agents

This commit is contained in:
George Shammas 2022-06-15 15:56:59 +00:00
parent 5f8ebefe7f
commit 57adc03f87
1 changed files with 1 additions and 1 deletions

View File

@ -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