Mirage Windows KeyTrapper
>>home >>things >>pictures >>contact
Mirage vLow.Lower

Mirage is a keytrapper for Windows 95. It will most likely work with Win31. It works by polling the keyboard port (64h, or 0x64) for data. Hopefuly I will be able either to write a VxD for it or some sort of hook to the VKD. Right now it is in a very early beta stage and will improve as time goes on. So, stay tuned. Hey, while your at it book mark this page. Make me feel special.

The file mirage2.exe will loose less key strokes. I suggest you use if. Only use mirage.exe if you can't get the VB4 runtimes.

The Win32 subsystem (yes even Win3.1 in enhanced mode has some of a subsystem) has a file called the VKD, or the Virtual Keyboard Driver. The VKD is actually the has the keyboard interrupt (virtually or something like that) vectored to it (its does the ISR stuff). All the VMs that try to access the keyboard via its Ports, memory buffer, et. al. have to go through it. So in reality the ports you are reading are only for you VM that the VKD lets you see. i.e. the Win32 VM can't read out of a dos box because each dos box lives in its own virtual 8088 VM. Now, Mirage works by polling 0x64 throught a 16 Bit DLL. Even though the DLL is 16 bit, you still have port level access to the Win32 VM (i.e. You're in the same VM). The DLL is called from a 16 Bit VB program which logs all the scan codes to a file, and later the user would convert the scan codes to keys. The conversion is not handled right away otherwise you would loose bytes. More coming soon... If you understood this, congrats because you belong to a select few who understand the guts of Windows. More comming soon...

    You can download it plus is docs:
  • Mirage vLow.Lower (Two variants now in the zip, one VB3 and other VB4)
The Docs are below:

Mirage is © 1996 Aditya Bansod.

The legal stuff:
I ADITYA BANSOD WILL NOT AND CANNOT BE HELD RESPONSIBLE FOR ANY DAMMAGE,
PROBLEMS, OR MISHAPS THAT ARE REALATED TO THIS PROGRAM (MIRAGE). THIS
PROGRAM IS TO BE USED FOR EDUCATIONAL PURPOSES ONLY. ADITYA BANSOD
WILL NOT BE HELD ACCOUNTABLE FOR ANY MISUSE OF THIS PROGRAM. BY USING THIS
PRODUCT YOU, THE USER, ACCEPT ALL PROBLEMS AND LEGALATIES THAT MAY RISE
FROM USE OR MISUSE OF THE PROGRAM.

Reasons:
.No good keytrapper for Win95 or Win31
.Something to do on the weekends
.The name is a pun off the Mac keytrapper Oasis, hence Mirage. Ha ha.

Notes:
.Thanks to Dcypher@aol.com for writing a program that converts scancodes to
 ASCII letters. I was too lazy. P.S. I diddn't ask permission. Woops.
."mirage2.exe" (VB4) is more suited for Win95 systems, while "mirage.exe" (VB3)
 is for Win3.1. They both are Win16 apps though.
.You need to use the scancode converter on the log file to get something
 understandable. Run "convert.com" for directions.
.My email address is aditya@bansod.ml.org

Requirments:
.At least a 486DX-66. Any less will most likely result in lost keys in the log
.At least Windows 3.1
.A hard drive
.VBRUN300.DLL or VB40016.DLL (I know, I know... Work is in progress to move
 to C, at least I degraded from VB4)

Recomeneded:
.A Pentium 100
.Windows 95 (not NT Server or Workstation)
.A large hard drive (don't worry, not needed. duh.)

Instructions:
.Place "support.dll" in the windows directory or the windows system directory.
 The log files will be placed in "c:\windows\system\lg.rcd"
.Place "mirage.exe" or "mirage2.exe" where ever you feel like. I suggest
 you place it in somewhere like the windows directory.
.Make "mirage.exe" startup with windows. I suggest you put it in the registry
 or win.ini in someplace like the Run key. Do not place it in the StartUp 
 program group.

The legal stuff (one more time):
I ADITYA BANSOD WILL NOT AND CANNOT BE HELD RESPONSIBLE FOR ANY DAMMAGE,
PROBLEMS, OR MISHAPS THAT ARE REALATED TO THIS PROGRAM (MIRAGE). THIS
PROGRAM IS TO BE USED FOR EDUCATIONAL PURPOSES ONLY. ADITYA BANSOD
WILL NOT BE HELD ACCOUNTABLE FOR ANY MISUSE OF THIS PROGRAM. BY USING THIS
PRODUCT YOU, THE USER, ACCEPT ALL PROBLEMS AND LEGALATIES THAT MAY RISE
FROM USE OR MISUSE OF THE PROGRAM.

This page is Copyright 1996 by Aditya Bansod
Last updated 9/11/96
(c) aditya p. bansod, 200{0, 1}.
View Page Source? all rights reserved, and stuff.