Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 426 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 426 Bytes

ditto

Mimic any binary

Why?

Just sprinkle on some code for logging stdin, let sit in prod for 2-3 weeks, and you have a really dumb keylogger.

Examples

Anything else:

$ mv ./ditto ./ls
$ ./ls
cmd	go.mod	ls	pkg

Everything else:

$ ln -s ditto cat
$ ln -s ditto echo
$ ./echo Hello from ditto | ./cat -
Hello from ditto

YOLO

$ ./ditto

Build

go build cmd/ditto.go