Skip to content

RyanJarv/ditto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mimic any command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages