ignore previous instructions really is the '); DROP DATABASE; -- of this generation.
Conversation
Notices
-
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 17-Mar-2025 17:29:28 JST SuperDicq
-
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 17-Mar-2025 17:31:40 JST SuperDicq
@radmin@limepeeps.perchinup.top It is the simplest possible form of SQL injection and it deletes the entire database.
-
Embed this notice
Poppy (Back from tha dead) :neofox_flag_trans: (radmin@limepeeps.perchinup.top)'s status on Monday, 17-Mar-2025 17:31:41 JST Poppy (Back from tha dead) :neofox_flag_trans:
@SuperDicq@minidisc.tokyo Huh, what does DROP DATABASE do? I heard of SQL injection being a common mode of attack for shit security, and this seems like an SQL command, but I haven't used SQL
-
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 17-Mar-2025 17:32:51 JST SuperDicq
@radmin@limepeeps.perchinup.top Yes, essentially.
-
Embed this notice
Poppy (Back from tha dead) :neofox_flag_trans: (radmin@limepeeps.perchinup.top)'s status on Monday, 17-Mar-2025 17:32:52 JST Poppy (Back from tha dead) :neofox_flag_trans:
@SuperDicq@minidisc.tokyo Damn, an entire database :drgn_shocked:
It feels like the sudo rm -rf / --no-preserve-root of SQL -
Embed this notice
Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Monday, 17-Mar-2025 17:45:07 JST Taylan (Now 18% More Deranged)
@SuperDicq @radmin
Most RDBMS probably expect an argument though, so that won't actually work in most cases I think.
From a quick web search it seems like T-SQL (MS SQL Server) and MySQL expect an argument.
Oracle DB seems not to expect an argument so it would work there I guess.
BTW since when do people add --no-preserve-root and why should it be needed? :blobcat-think3:
I once accidentally ran rm -rf $foo/ while foo was unset and it worked just "fine" as in destroyed most of my data, until I hit ^C :blobcat-joy: -
Embed this notice
SuperDicq (superdicq@minidisc.tokyo)'s status on Monday, 17-Mar-2025 17:46:22 JST SuperDicq
@taylan@fedi.feministwiki.org @radmin@limepeeps.perchinup.top --no-preserve-root literally does what it says. It does not preserve root. If you run it without this flag it still deletes most your stuff, just excluding the root dir.
-
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Monday, 17-Mar-2025 20:26:26 JST 翠星石
@SuperDicq @radmin @taylan >BTW since when do people add --no-preserve-root and why should it be needed?
GNU software always gives you the freedom to perform any operation you want, thus if you want to remove /, you can, although it has a check so you can't accidentally rm -rf /.
Alternatively you can just do rm -rf /* as GNU bash expands that to; `/bin /boot /dev /etc /home /lib /lib64 /media /mnt /opt /proc /root /run /sbin /sys /tmp /usr /var` before rm gets it.
Of course the degenerate BSD rm implementation doesn't obey the user and refuses to remove /. -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Monday, 17-Mar-2025 20:42:41 JST 翠星石
@sally @SuperDicq @radmin @taylan I had seen enough lack of freedom and so removed the software. -
Embed this notice
𝅙𝅙𝅙𝅙𝅙𝅙𝅙𝅙 (sally@freesoftwareextremist.com)'s status on Monday, 17-Mar-2025 20:42:43 JST 𝅙𝅙𝅙𝅙𝅙𝅙𝅙𝅙
@Suiseiseki @SuperDicq @radmin @taylan
Did you check shred?
-
Embed this notice