squelches more errors with attack

This commit is contained in:
Torsten Ruger 2017-03-03 18:20:09 +02:00
parent 4e7660d2e3
commit df03cb103e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Rack::Attack.blacklist('block admin probes') do |req|
reject = false
["php" , "jsp" , "cgi", "asp", "cfm," "proxy.txt", "soapCaller", "Win32" , "HNAP1" , "w00tw00t",
"pma" , "mysql" ,"msd" , "MySQL" , "jmx-console" , "ervlet" , "xml" ,"install",
"webdav" , "apple-" , ].each do |no|
"webdav" , "apple-" , "administrator" , "wp-admin" , ".well-known"].each do |no|
if req.path.include?(no)
reject = true
break