Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
1Prototype1 authored Jun 6, 2020
1 parent 61ce09b commit 5b4089e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions safebox.py
Original file line number Diff line number Diff line change
@@ -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!')

0 comments on commit 5b4089e

Please sign in to comment.