2015-05-26 21:37:25 +00:00
|
|
|
#! /usr/bin/env python
|
|
|
|
import fallout_login as login
|
2015-05-27 01:11:31 +00:00
|
|
|
import fallout_boot as boot
|
|
|
|
import fallout_locked as locked
|
2015-06-14 21:05:56 +00:00
|
|
|
import fallout_hack as hack
|
2015-06-14 22:31:01 +00:00
|
|
|
import fallout_selection as select
|
2015-05-31 21:54:43 +00:00
|
|
|
import sys
|
2015-05-26 21:37:25 +00:00
|
|
|
|
2015-05-31 21:54:43 +00:00
|
|
|
hard = False
|
|
|
|
if len(sys.argv) == 2 and sys.argv[1].lower() == 'hard':
|
|
|
|
hard = True
|
|
|
|
|
|
|
|
if boot.beginBoot(hard):
|
2015-06-14 21:05:56 +00:00
|
|
|
pwd = hack.beginLogin()
|
|
|
|
if pwd != None:
|
|
|
|
login.beginLogin(hard, 'ADMIN', pwd)
|
2021-05-19 12:49:57 +00:00
|
|
|
print(select.beginSelection())
|
2015-05-27 01:11:31 +00:00
|
|
|
else:
|
|
|
|
locked.beginLocked()
|
2021-05-19 12:49:57 +00:00
|
|
|
print('Login failed')
|