diff --git a/safebox.py b/safebox.py new file mode 100644 index 0000000..0567cb2 --- /dev/null +++ b/safebox.py @@ -0,0 +1,22 @@ +from stdiomask import getpass +from os import path, system, mkdir +# Password +pwd = 'proto' + +if path.exists('Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}'): + # Unlock + if not getpass() == pwd: + input('Wrong Password!') + exit() + system('attrib -h -s -r "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"') + system('ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" HexBox') + input('Unlocked!') +elif not path.exists('HexBox'): + # Make Dir + mkdir('HexBox') + input('HexBox Created') +else: + # Lock + system('ren HexBox "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"') + system('attrib +h +s +r "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"') + input('Locked!') \ No newline at end of file