Advertisement
Guest User

grep for gnupg password

a guest
Aug 28th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. #!/usr/bin/bash
  2.  
  3. while true; do
  4.         sleep 0.2
  5.         pid=`pgrep pinentry` && strace -p "$pid" 2>&1 | egrep '^write\(1, "D '
  6. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement