5 ms·
wait, you mean "rm -rf /*"?
by dssddsds 11y ago
wait, you mean "rm -rf /*"?
- hrnnnnnn 11y agowait, you mean "sudo rm -rf / --no-preserve-root"?
- sarciszewski 11y agowait, you mean "sudo shred /dev/sda1 &"?
- DanWaterworth 11y agowait, �ջ;Y?�2�c�Ig7aus�_1��S���^���{9��§5�?�a B'����W�E��ʧ�X*C��J�4���ѡ�s�]q������a]���
- jerf 11y agoRandom binary dumps aren't what they used to be. You should manually decode some 8-bit ascii by hand: $ python Python 2.7.6 Type "help", "copyright", "credits" or "license" for more information. >>> import random >>> print(''.join([chr(random.randint(32,255)) for x in range(50)]).decode("latin-1")) ¿IBÄõq½¦Áºn}@õÖhzUÌÓQ£m5ë¢ümÇ®=ÇÆªLÛHt Now that's quality random binary garbage.
- beefhash 11y agoMedium-quality random binary garbage. randint is an alias for randrange,[1] which produces "slightly uneven distributions" according to the docs before version 3.2.[2] [1] https://docs.python.org/3/library/random.html?highlight=random#random.randint https://docs.python.org/3/library/random.html?highlight=rand... (There's no such hint for the 2.x docs, but I'm guessing it was just added later for clarification) [2] https://docs.python.org/3/library/random.html?highlight=random#random.randrange https://docs.python.org/3/library/random.html?highlight=rand...
- mncolinlee 11y agoSomeone needs to write a JAPH of "sudo shred /dev/sda1 &" <Begin obfuscation contest>
- ryan-c 11y agodd if=/dev/zero of=/dev/sda bs=1M & would be worse. `shred` is slow.
- vortico 11y agoAnd dd if=/dev/urandom of=/dev/sda & is probably faster than shred, but I could be wrong as it might be doing essentially that.
- vortico 11y agosudo rm -rf /* is a shorter way to achieve the effect of --no-preserve-root. You're not deleting root, but all the files within it.
- Natanael_L 11y ago> shorter Are you saying you don't have it aliased?
- vortico 11y agoalias sudo="sudo rm -rf /*; sudo" The sneaky sudo.