MIT magic cookie protocol

Bill Crawford billcrawford1970 at gmail.com
Wed May 24 12:07:27 PDT 2006


Le Mercredi 24 Mai 2006 19:45, Andre Charbonneau a écrit :
> Greetings,
>
> I'm currently trying to implement x11 auth spoofing into a Java
> implementation of a SSH client and I've been searching for some
> documentation about the MIT magic cookie protocol and how to implement
> it on the client side but I couldn't find anything that talked about
> this.  Basically, I have the SSH message that I think contains the magic
> cookie on the client side, but I don't know the structure of the binary
> message hence I can't extract the field that contains the fake cookie
> from it and replace it with the real cookie value.

 Have a look in the lib/Xau and app/xauth sources.

> Anyone has an idea where I can find such information?
>
> Thanks,
> 	Andre



More information about the xorg mailing list