_block_master187 1 Posted April 9, 2017 Share Posted April 9, 2017 Hello. I have a computer set up but I need a startup password on it or a BIOS password. If someone could reply with a code that could boot a BIOS and need a password that would be great. Thanks in advance! Quote Link to post Share on other sites
0 Nexarius 18 Posted April 10, 2017 Share Posted April 10, 2017 Should be pretty simple program. I just did this here. Save it to /autorun.lua local passwort = "blabla" while io.read() ~= passwort do print("nicht OK") end print("OK") Quote Link to post Share on other sites
0 _block_master187 1 Posted April 11, 2017 Author Share Posted April 11, 2017 On 4/10/2017 at 2:14 AM, Nexarius said: Should be pretty simple program. I just did this here. Save it to /autorun.lua local passwort = "blabla" while io.read() ~= passwort do print("nicht OK") end print("OK") Okay so I went to the root directory first.. cd / Then I did edit /autorun.lua THEN I pasted in the code for the program.. After that, I saved it then rebooted my computer. When it booted OpenOS, I was expecting the program to kick in and ask me for a password but it didn't. It just did what it normally does and took me to the shell. Did I do something wrong? Quote Link to post Share on other sites
0 Nexarius 18 Posted April 11, 2017 Share Posted April 11, 2017 os.sleep(1) require("term").clear() local event = require("event") function event.shouldInterrupt() return false end local passwort = "blabla" local anzahl = 0 print("Passwort") while io.read() ~= passwort do print("nicht OK") os.sleep(anzahl) anzahl = anzahl + 1 end print("OK") Quote Link to post Share on other sites
0 Nexarius 18 Posted April 11, 2017 Share Posted April 11, 2017 That should work now. I also prevented interruption with ctrl + c and brute force attacks by increasing the time between each try by 1 sec. Quote Link to post Share on other sites
0 _block_master187 1 Posted April 11, 2017 Author Share Posted April 11, 2017 Awesome! It works now! Thanks a bunch! Quote Link to post Share on other sites
Hello. I have a computer set up but I need a startup password on it or a BIOS password.
If someone could reply with a code that could boot a BIOS and need a password that would be great.
Thanks in advance!
Link to post
Share on other sites