comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <OneWingedShark@gmail.com>
Subject: Re: what do i need to make a keylogger?
Date: Sun, 13 Jul 2014 22:07:43 -0600
Date: 2014-07-13T22:07:43-06:00	[thread overview]
Message-ID: <lIIwv.231833$bA1.224442@fx22.iad> (raw)
In-Reply-To: <694f9270-a1d0-44c3-b066-5e1749678411@googlegroups.com>

On 13-Jul-14 21:29, torralbaduran@gmail.com wrote:
> as far as i know, i would need low level ada programming, but I don't want to do it in C (there are lots of tutorials and sample code already in C).
> This keylogger will run in the background of my windows 7  machine.
> Does anyone have a sample code that will work on windows 7? or can anyone point me to a good reference in windows and ada hardware?
>
> Thank you :)
>

I don't have any sample code, but I think you can just set up the 
keylogger as an interrupt service* (be sure to chain in the old 
interrupt)... I can't think of any reason that wouldn't work on any x86 OS.

Use aspect Interrupt_Handler & Attach_Handler
( See: http://www.ada-auth.org/standards/2xrm/html/RM-C-3-1.html )

Examples of handling interrupts:
http://wiki.ada-dk.org/catching_and_handling_interrupts_in_ada
http://stackoverflow.com/questions/10640108/ada-interrupt-handlers
http://www.adacore.com/adaanswers/gems/ada-gem-13/

------------------------------
* IRQ 1 — keyboard controller.


  reply	other threads:[~2014-07-14  4:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  3:29 what do i need to make a keylogger? torralbaduran
2014-07-14  4:07 ` Shark8 [this message]
2014-07-14  4:44 ` jsquirek
2014-07-15  1:30 ` torralbaduran
2014-07-15  2:36   ` jsquirek
2014-07-16  3:39 ` torralbaduran
2014-07-18 23:02 ` torralbaduran
2014-07-30 14:20   ` jsquirek
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox