#24: Add powershell user agents
This commit is contained in:
parent
5f8ebefe7f
commit
57adc03f87
2
main.go
2
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
|
||||
|
|
Loading…
Reference in New Issue