4 ms·
here's one example using rack attack on a rails app: https://github.com/pinballmap/pbm/blob/302ac638850711878ac618847b323fa7c2d9e3e3/config/initializers/rack_a
by weaksauce 1y ago
here's one example using rack attack on a rails app:
https://github.com/pinballmap/pbm/blob/302ac638850711878ac618847b323fa7c2d9e3e3/config/initializers/rack_attack.rb#L27 https://github.com/pinballmap/pbm/blob/302ac638850711878ac61...
https://github.com/pinballmap/pbm/blob/302ac638850711878ac618847b323fa7c2d9e3e3/config/robots.production.txt#L63 https://github.com/pinballmap/pbm/blob/302ac638850711878ac61...
but it only bans for 3 hours. if they don't respect the hidden link and robots.txt they get banned.