will this code work for a keyboard hid script???

#include <iostream>

using namespace std;

int main()

{

cout << “Warning: This script will erase all data on the computer. Do you wish to continue? (Y/N)” << endl;

char confirmation;

cin >> confirmation;

if (confirmation == ‘Y’ || confirmation == ‘y’)

{

system(“format c: /fs:NTFS /p:1”);

system(“shutdown -r -f -t 0”);

}

return 0;

}

submitted by /u/angrymale54
[link] [comments]

Read More >>