As the program goes on, it will get more complex as i learn.
If you have ANY suggestions, or want certain features added, just ask! I REALLY want to learn more coding.
Features:
Disabled "CTRL + T"
Password Protected
Realistic Startup
Emergency (Bypass) Mode
Scroll to bottom for planned features and help.
Version 1.4.5
Spoiler
- Improved realistic logging in and computer startup- Added no "ctrl + T" option
os.pullEvent = os.pullEventRaw
term.clear()
p = "password"
print(" odd Security v1.4.5 ")
print("=========================")
print("|| UserName: yourname ||")
write("|| Password: ******** ||")
print("=========================")
write("Password: ")
pt = read("*")
if pt == (p) then
print("Logging In..")
sleep(2)
print("Login succesful!")
sleep(1)
print("Welcome user!")
sleep(2)
term.clear()
print("Starting odd OS...")
sleep(3)
print("Reading Files...")
sleep(2)
print("Clearing Cache...")
sleep(2)
print("Startup Succesful!")
sleep(1)
term.clear()
print("odd OS v1.4.5")
write("")
elseif pt == "admin" then
write("Admin Mode")
else
print("Logging in...")
sleep(3)
print("Incorrect Password! Shutting Down...")
sleep(3)
os.shutdown()
end
Version 1.4
Spoiler
- Added "Admin Bypass Mode" Meaning, typing "admin" will bypass the password.- Added realistic startup
- Changed the look
term.clear()
p = "password"
print(" odd Security v1.4 ")
print("=========================")
print("|| UserName: yourname ||")
write("|| Password: ******** ||")
print("=========================")
write("Password: ")
pt = read("*")
if pt == (p) then
sleep(1)
print("Welcome user!")
sleep(2)
term.clear()
print("Starting odd OS...")
sleep(3)
print("odd OS v1.4")
write("")
elseif pt == "admin" then
write("Admin Mode")
else
print("Incorrect Password! Shutting Down...")
sleep(3)
os.shutdown()
end
1.3 (Huge Update For Me)
Spoiler
- Added " * " instead of the letters themselves
term.clear()
p = "password"
print("======================")
print("|| Odd Security 1.3 ||")
print("|| UserName: odd_kid||")
print("|| Password: ******||")
print("======================")
write("Password: ")
tp = read("*")
if tp == (p) then
print("Access Granted! Welcome odd_kid!")
sleep(2)
term.clear()
else
print("Wrong Password! Shutting Down Computer...")
sleep(3)
os.shutdown()
end
Version 1.2 (Lost on Server)
Version 1.1
Spoiler
- Changed Look
term.clear()
p = "password"
print("======================")
print("|| Odd Security 1.1 ||")
print("|| UserName: odd_kid||")
print("|| Password: ******||")
print("======================")
write("Password: ")
tp = read()
if tp == (p) then
print("Access Granted! Welcome odd_kid!")
sleep(1)
term.clear()
else
print("Wrong Password! Shutting Down Computer...")
sleep(3)
os.shutdown()
end
Version 1.0
Spoiler
-First Version
term.clear()
p = "password"
print(" Odd Sercurities v1.0")
print("Username: odd_kid")
write("Password: ")
pt = read()
if pt == (p) then
print("Welcome!")
sleep(2)
term.clear()
else
print("Wrong Password! Shutting Down...")
sleep(3)
os.shutdown()
end
Remove "Bypass Mode" and Change Password and Username
Spoiler
Change Password and Username:To edit the file, open the console and type "edit startup"
To change the username, retype it on the line that say "print"
To change the Password it will be located near the top and should say "password"
Future Plans:
Options Mode (in progress)
Database to hold passwords and username
Must verify Username AND password
Installer