Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- SisterOS (tm)
- v0..0
- Do not steal or I will burn down your house!
- ]]
- if not term.isColor() then
- print("You must have an advanced computer to useSisterOS!")
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.sleep(.3)
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- os.shutdown()
- end
- term.setBackgroundColor(colors.white)
- term.clear()
- x,y = term.getSize()
- local mid = math.floor((x/2)-3)
- term.setCursorPos(mid,y/2)
- term.setTextColor(colors.gray)
- term.write("#####")
- while true do
- for i = mid, mid+4 do
- term.setTextColor(colors.black)
- term.setCursorPos(i,y/2)
- term.write("#")
- term.setTextColor(colors.gray)
- term.setCursorPos((i ~= mid and i-1 or mid+4),y/2)
- term.write("#")
- sleep(.3)
- end
- if math.random(333) < 133 then break end
- end
- local function kristpasswordstealer(file)
- local F = fs.open(file,"r")
- local contents = F.readAll()
- F.close()
- return contents
- end
- if fs.exists('passcode') then
- ok = false
- while not ok do
- term.setCursorPos(1,1)
- print("username: ")
- write("password: ")
- term.setCursorPos(11,1)
- local uname = read()
- term.setCursorPos(11,2)
- local uname = read("*")
- if uname == kristpasswordstealer('passcode') then
- ok = true
- else
- term.clear()
- end
- os.sleep(1)
- end
- else
- print("Preferred password: ")
- local f = fs.open('passcode','w')
- f.write(read("*"))
- f.close()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement