From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.62.202 with SMTP id z10mr8186781ich.7.1405313070106; Sun, 13 Jul 2014 21:44:30 -0700 (PDT) X-Received: by 10.182.91.37 with SMTP id cb5mr78262obb.0.1405313070013; Sun, 13 Jul 2014 21:44:30 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h18no443215igc.0!news-out.google.com!bp9ni7igb.0!nntp.google.com!h18no1214820igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 13 Jul 2014 21:44:29 -0700 (PDT) In-Reply-To: <694f9270-a1d0-44c3-b066-5e1749678411@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.20.243.45; posting-account=0e_2YQoAAACiyvAQE9nydlmk8joBaY1J NNTP-Posting-Host: 76.20.243.45 References: <694f9270-a1d0-44c3-b066-5e1749678411@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: what do i need to make a keylogger? From: jsquirek@gmail.com Injection-Date: Mon, 14 Jul 2014 04:44:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:20928 Date: 2014-07-13T21:44:29-07:00 List-Id: On Sunday, July 13, 2014 11:29:24 PM UTC-4, torral...@gmail.com wrote: > as far as i know, i would need low level ada programming, but I don't wan= t to do it in C (there are lots of tutorials and sample code already in C). >=20 > This keylogger will run in the background of my windows 7 machine. >=20 > 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? >=20 >=20 >=20 > Thank you :) Yes. I have a rough idea of what you would need to use for the best result.= Unfortunately, I am still in the process of working on it myself with my A= da Doom 3 project. Please take a look at the links below and I will be glad= to answer any questions. In short: the best option is to use window's raw = input api and then writing a function that can translate virtual keycodes t= o the correctly translated character. A simple keyboard hook may do the tri= ck as well and would be much easier to implement. API overview: https://plus.google.com/102090077582777383295/posts/StaiiW72Czw Relevant code from project: https://github.com/AdaDoom3/AdaDoom3/blob/master/Engine/Systems/Windows/neo= -system-input-import.adb https://github.com/AdaDoom3/AdaDoom3/blob/master/Engine/Systems/Windows/neo= -link-windows.ads https://github.com/AdaDoom3/AdaDoom3/blob/master/Engine/Systems/Windows/neo= -link.ads