Questions tagged [keylogger]

Keystroke logging (Keylogging, Keylogger)

Keystroke logging (often called keylogging or "keylogger") is the action of tracking (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored.

426 questions
-1
votes
1 answer

Cannot capture keystrokes in C [Ubuntu 16.04LTS]

I've been trying to make a keylogger on Ubuntu 16.04LTS for a while now, and this is what I have so far: #include #include #include #include int main() { char devname[] = "/dev/input/event0"; …
Logan Darby
  • 145
  • 16
-1
votes
1 answer

Basic key logging service fails to log keys in worker thread

recently I have attempted to try my hand at programming services starting with a simple key logger. The original code is very crude however it works granted the current window is focused. The problem started when I attempted to alleviate this issue…
ACpp8165b
  • 11
  • 3
-1
votes
1 answer

Netstat -an in Command Line

In the below picture, as you see When I write "netstat -an" inside the command line I got this answer in the picture. The last line is different than others. Sometimes, I query "netstat -an" command inside the command line. The first 4 characters…
Gürkan Çatak
  • 923
  • 1
  • 9
  • 17
-1
votes
2 answers

Reading events from the keyboard device and storing it in a file skips some input

I am writing a code for a very simple keylogger. It reads input from the /dev/input/event[0..9] and uses the read() system call to read the inputs done by the keyboard. This input is then redirected to be stored in a log file. The code is…
Haris
  • 12,120
  • 6
  • 43
  • 70
-1
votes
1 answer

Java: read what keys are being pressed in other windows

Is it possible to have a Java program read the keyboard buttons pressed all the time, even when I'm typing in notepad or chrome? If so, how would I do this?
Yen
  • 25
  • 5
-1
votes
1 answer

Problems with hooks and keys

here is what I've done so far trying to learn to deal with hooks, buttons and messages on windows: in main.cpp //Create a thread for keyboard: HANDLE hScreenThread2; DWORD idScreenThread2; hScreenThread2 =…
-1
votes
1 answer

Event handling in keylogger

While thinking of making a keylogger here I learnt how to register listener class with JFrame problem with this approach is that it works when JFrame is in focus otherwise it does not. My question is there any other object with which I can register…
user3461957
  • 163
  • 2
  • 5
  • 14
-1
votes
3 answers

What is wrong with the chr in this code?

Hey does anyone know what it is wrong with the chr in this code, the first chr (chr(event.Ascii):). it just returns with a syntax error. I am writing a keylogger using pyHook. Thanks in advance. import pyHook, pythoncom, sys, logging file_log =…
PixelPuppet
  • 69
  • 3
  • 8
-1
votes
2 answers

Python to send email with file before exit by calling custom module

I have the code below and also code that sends email with the file so by importing it from library I wanted to execute it after the file is closed and before the program exits yet it does not happen I have tries searching everywhere and it seems…
-1
votes
1 answer

Keyloggers and Virtual Machines

I want to test some keyloggers in order to see how they work. If my host OS is clean, and I install the keyloggers on a guest OS running in VirtualBox, will the keylogger be able to log the keystrokes and screenshots in the HOST OS? I think I know…
Matthew
  • 4,477
  • 21
  • 70
  • 93
-1
votes
2 answers

Protection against Screenshot Keyloggers

I was thinking of creating an on-screen keyboard to protect against keyloggers. The main problem is that I have found that there is a category of keloggers, called screenshot key loggers, which are able to take screenshots of the screen every time…
Matthew
  • 4,477
  • 21
  • 70
  • 93
-2
votes
1 answer

Function in c++ that return the indicator that let me know that given char is right is not according to the function

Here is the code : char specialKeys(char key, char *File) { cout << _key << endl; FILE *OUTPUT_FILE; OUTPUT_FILE = fopen(file, "a+"); if (key == VK_ABNT_C1) fprintf(OUTPUT_FILE, "%s", "Abnt C1") …
-2
votes
2 answers

keylogger returns all values

I am setting up a keylogger, but not for malicious purposes. Whenever I press a key after applying the switch statement to capture specific Virtual Key codes, my buffer gets completely filled with every number, letter, symbol etc.. that I filtered.…
-2
votes
1 answer

Keylogger stuck in loop

can you help? I tried making a Keylogger. I would like the keylogger to run in the background and allow the rest of the program to continue.The keylogger gets stuck in a loop, and doesn't execute the code after it. I'd like the program to print…
-2
votes
1 answer

How do I fix these encodings?

I'm making a program that captures all the keys the user enters & saves them to a file. There's one problem I'm really confused with. Sometimes when I open the text file it seems like it's ALL in Unicode. I typed the Russian characters and they're…
mothaf
  • 3
  • 2