Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Logger a la Key
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
uberwalla




PostPosted: Wed Dec 20, 2006 4:52 pm   Post subject: Logger a la Key

is it actually possible to make a keylogger in turing? well one that does not need to have a run window Razz lol
Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Wed Dec 20, 2006 8:13 pm   Post subject: (No subject)

whats a keylogger??? And yes, Turing can run code without a window, a window is only there to show you output of the code you've created.

var number : int := 0
for i: 1 .. 100
number := i
end for

That runs without a window!
Prince Pwn




PostPosted: Wed Dec 20, 2006 8:22 pm   Post subject: (No subject)

You cannot read keystrokes without showing the window, tried it before. Window.Hide does no good here.
uberwalla




PostPosted: Wed Dec 20, 2006 10:23 pm   Post subject: (No subject)

damn that sucks. so is it only vb and c that can really do this?
Hackmaster




PostPosted: Wed Dec 20, 2006 10:32 pm   Post subject: (No subject)

there has to be a way... if you browse the applications... someone made a virus using turing, and it was a keylogger, and it ran just fine in the backround. I'm not sure how he did it, and i've never tried anything like it before.

maybe, ignoring Prince Pwn for a second, you could do a noecho on a setscreen, and have the window hide. now, if it kept on popping up as you typed, you could close it everytime you did your getch, or however you would record the keys.

or, hell, just do a window.Close! maybe if you killed the window it would work...?
TokenHerbz




PostPosted: Wed Dec 20, 2006 10:40 pm   Post subject: (No subject)

i think Window.Close termanates (incorecly at that) the program. I'm not sure if you could start it up again, Iv'e never tried.
ericfourfour




PostPosted: Wed Dec 20, 2006 10:43 pm   Post subject: (No subject)

Hackmaster wrote:
maybe, ignoring Prince Pwn for a second, you could do a noecho on a setscreen, and have the window hide. now, if it kept on popping up as you typed, you could close it everytime you did your getch, or however you would record the keys.

or, hell, just do a window.Close! maybe if you killed the window it would work...?

Sorry, it is impossible. The closest thing you could get away with is putting the window as low on the screen as possible.

Even try these test cases:
code:
View.Set ("noecho")
Window.Hide (-1)

var chars : array char of boolean
Input.KeyDown (chars)

% var text : string
% get text

% var ch : string (1)
% Input.getch (ch)

% var ch : char
% ch := Input.getchar ()


uberwalla wrote:
is it only vb and c that can really do this?

Actually, pretty much every other language can get input without a window.
Hackmaster




PostPosted: Wed Dec 20, 2006 10:50 pm   Post subject: (No subject)

hey, eric, that's actually a good idea!

uber... try this:

code:


setscreen("graphics:1;1,noecho, nobuttonbar")



then window would be soo small, you may not notice...
Sponsor
Sponsor
Sponsor
sponsor
uberwalla




PostPosted: Wed Dec 20, 2006 11:26 pm   Post subject: (No subject)

doesn't turing have a set window size you must have? i swear it does i doint think you can get 1,1 but ill try Smile
Tony




PostPosted: Thu Dec 21, 2006 12:00 am   Post subject: (No subject)

There is some minimum to the window size, just enough to fit in the _[]X buttons, and maybe then some.

Though I think Turing's window might actually have to be in focus to read the keys (could anyone confirm?)... possibly not with Input.KeyDown (that's always your best bet).

What other languages can do is to read the input buffer and send it back to the system as if nothing has happened. I've actually heard of pure hardware implemintations of keyloggers, that just attach to your keyboard cord in the back of your computer. Scary.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
ericfourfour




PostPosted: Thu Dec 21, 2006 12:08 am   Post subject: (No subject)

Tony wrote:
possibly not with Input.KeyDown (that's always your best bet).

It has been proven to not work. Look up a few posts at the test cases.

Tony wrote:
What other languages can do is to read the input buffer and send it back to the system as if nothing has happened. I've actually heard of pure hardware implemintations of keyloggers, that just attach to your keyboard cord in the back of your computer. Scary.

I guess they are scary... until you take them off ofcourse. Idea
Tony




PostPosted: Thu Dec 21, 2006 12:49 am   Post subject: (No subject)

yeah, but how often do you check behind your case to see if anything has been attached to one of the ports? I bet that with a blue-tooth the signal could be send and recorded remotely, so it doesn't even need to be retrieved to get your info.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
ericfourfour




PostPosted: Thu Dec 21, 2006 4:47 pm   Post subject: (No subject)

Oh I see what you are saying. Someone can put it there without you knowing. That would suck and there would be no way to detect it until you go behind your computer.
Hackmaster




PostPosted: Thu Dec 21, 2006 5:32 pm   Post subject: (No subject)

Well... I don't know... it might even be detectable.. your keyboard cable might have some feeling of being wheigthed down.... or... your.. um ... bluetooth... might be slower? maybe? a bit of a delay?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: