Skip to content

Instantly share code, notes, and snippets.

@junquera
Created February 6, 2026 07:32
Show Gist options
  • Select an option

  • Save junquera/36a8f81f39342a1bc4825f494213a21d to your computer and use it in GitHub Desktop.

Select an option

Save junquera/36a8f81f39342a1bc4825f494213a21d to your computer and use it in GitHub Desktop.
Named-pipe-based canary. In case anybody opens the file `passwords.txt` an alert will be launched.
mkfifo passwords.txt && echo 1 > passwords.txt && notify-send "Intruder @ passwords canary!" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment