Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
20 lines
307 B
Plaintext
20 lines
307 B
Plaintext
/*
|
|
* A Win32 program that reads raw console input with getch and echos
|
|
* it to stdout.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <conio.h>
|
|
|
|
int main()
|
|
{
|
|
int count = 0;
|
|
while (true) {
|
|
int ch = getch();
|
|
printf("%02x ", ch);
|
|
if (++count == 50)
|
|
break;
|
|
}
|
|
return 0;
|
|
}
|