Removed unnecessary handling code.

This commit is contained in:
Duarte Silva 2015-05-15 15:53:23 +01:00
parent 392aa0f5c5
commit 84060717c1
1 changed files with 5 additions and 12 deletions

View File

@ -312,19 +312,12 @@ int main(void)
else print_not_traced(); else print_not_traced();
printf("[*] Looking for a MAC address starting with 08:00:27 ... "); printf("[*] Looking for a MAC address starting with 08:00:27 ... ");
switch (vbox_mac()) { if (vbox_mac() == TRUE) {
case TRUE: write_log("VirtualBox traced using MAC address starting with 08:00:27");
write_log("VirtualBox traced using MAC address starting with 08:00:27"); print_traced();
print_traced(); write_trace("hi_virtualbox");
write_trace("hi_virtualbox");
break;
case FALSE:
print_not_traced();
break;
case -1:
print_warning("NOT BUILT");
break;
} }
else print_not_traced();
printf("[*] Looking for pseudo devices ... "); printf("[*] Looking for pseudo devices ... ");
if (vbox_devices(TRUE) == TRUE) { if (vbox_devices(TRUE) == TRUE) {