Hai Nishan Nazeer,
    If u want to write an effective keylogger it should log keystroke in 
X and also in console. because if u write the keylogger for console then 
it wont log the keystrokes in X and if u write it to log keystroke in X 
then it wont log keystrokes in console. This is because the processing 
of keystroke is different for X and console. In console, processing is 
done by kernel but in X  processing is done by X itself. So in my 
opinion to write an effective one u have to code for both. The libraries 
of X can be used for logging keystokes in X. This can be done using 
calls from Xlib alone like XQueryKeymap(). I think this alone will do 
the trick.

    The best thing is to modify XSpy. This babe will log all X keystroke 
but wont log console keystrokes. It u can make it log console keystroke 
this babe will be HOT.

fabin


Nishan Nazeer wrote:

> hello,
> i want to code a keyboard logger which can log all keys pressed in the 
> keyboard
> for later analysis.
> is there any method for accessing  keyboard buffer using C?
> i got a thirdparty api from  http://alleg.sourceforge.net/
> but ,  i want to know if there is any s/m calls or similar things
>
> thanks in advance
> -- 
>
> Regards
> _______
> nishan
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Mailinglist mailing list
>Mailinglist at ilug-cochin.org
>http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20060211/59a8e57b/attachment.htm

Reply via email to