Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 402 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 402 Bytes

forkd

Log forks in userspace, by abusing /proc/loadavg

Proof that one should not place sensitive information on the command line for any process. Fork safely!

Example output:

$ ./forkd
23188:  ./forkd
23189:  bash

        ls --color=auto
23190:  sshd: [accepted]

        /usr/sbin/sshd -D -R
23191:  sshd: [accepted]
        sshd: [net]
23192:  -bash
23193:  /usr/bin/hostname

[...]