Some code cleanup

This commit is contained in:
Thorsten Sick 2014-02-21 10:38:43 +01:00
parent 5fe5830875
commit 0bec600f71

View File

@ -161,6 +161,7 @@ int main(int argc, char *argv[])
else {
print_not_traced();
}
printf("[*] Reg key (HKLM\\HARDWARE\\Description\\System \"SystemBiosVersion\") ... ");
if (vbox_reg_key2() == 0) {
write_log("VirtualBox traced using Reg key HKLM\\HARDWARE\\Description\\System \"SystemBiosVersion\"");
@ -170,6 +171,7 @@ int main(int argc, char *argv[])
else {
print_not_traced();
}
printf("[*] Reg key (HKLM\\SOFTWARE\\Oracle\\VirtualBox Guest Additions) ... ");
if (vbox_reg_key3() == 0) {
write_log("VirtualBox traced using Reg key HKLM\\SOFTWARE\\Oracle\\VirtualBox Guest Additions");
@ -179,6 +181,7 @@ int main(int argc, char *argv[])
else {
print_not_traced();
}
printf("[*] Reg key (HKLM\\HARDWARE\\Description\\System \"VideoBiosVersion\") ... ");
if (vbox_reg_key4() == 0) {
write_log("VirtualBox traced using Reg key HKLM\\HARDWARE\\Description\\System \"VideoBiosVersion\"");
@ -233,7 +236,6 @@ int main(int argc, char *argv[])
print_not_traced();
}
if (vbox_sysfile1() == 0) {
}
else {