home tags events about login
one honk maybe more

benjojo posted 28 Sep 2025 17:47 +0000

Slowly dialing in the art of making dangerous internal utilities have ominous log messages that are designed to make future Ben scared of using them

Loading file of targets... Targets Loaded (1986). Storage MySQL connected. Stopping for 5 seconds for you to comprehend what you are about to do, 1986 objects and 218.0 GB, Program aborted by user

jeroen@secluded.ch replied 28 Sep 2025 19:31 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/KhBL511nY9J3Y7S1ZT

@benjojo make it 42 seconds unless one adds the -supercow-commands-you-so option and maybe show a part of the things that are going to be cleaned up.

Another trick is to have a "deleted" version of the tables and move entries there and expire that table after a day/week or so in case one want to move stuff back; though with mysql and that data size might not be very optimal ;)

benjojo replied 28 Sep 2025 20:56 +0000
in reply to: https://secluded.ch/users/jeroen/statuses/115283585508723015

@jeroen ah yes but in this case it's actually removing data out of ceph/S3, so the problem is not so much the MySQL (that's "just" a tracking table), it's more that there are basically no creds in the system that have the ability to delete files, so it's always scary to create creds that can do a delete operation