News for hackers. Stuff that matters.
Re:Ways to shoot yourself in the foot with Redis by js2 on Saturday July 29, 2023 @04:49PM (#36924411)
You can use rename-command to help avoid these kinds of mistakes:

  # To disable:
  rename-command FLUSHALL ""

  # To rename:
  rename-command FLUSHALL DANGER_WILL_ROBINSON_FLUSH_ALL
Re:Ways to shoot yourself in the foot with Redis by cik on Sunday July 30, 2023 @10:57AM (#36931777)
Instead, use the redis acl commands to modify permissions you don't want executed by a user (i.e flushall, flushdb) as opposed to renaming commands.