Skip to content

Commit

Permalink
Update bypass.py
Browse files Browse the repository at this point in the history
final fix
  • Loading branch information
celikj authored Apr 20, 2023
1 parent 16c0cc8 commit 1f76727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bypass.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
with open(file_path, "r") as file:
file_text = file.read()

if "SMBIOS.reflectHost = "True" in file_text:
if 'SMBIOS.reflectHost = "True"' in file_text:
print("You have run the bypass before, you do not need to run it again.")
else:
with open(file_path, "a") as file:
file.write("\nSMBIOS.reflectHost = "True")
print("SEB vm detection bypassed successfully.")
file.write('\nSMBIOS.reflectHost = "True"')
print("bypass completed successfully.")

input("Press any key to close the program...")

0 comments on commit 1f76727

Please sign in to comment.