This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
EmTeaKay's profile picture

Computer Hacker (Also works with Turtles)

Started by EmTeaKay, 17 April 2012 - 06:47 PM
EmTeaKay #1
Posted 17 April 2012 - 08:47 PM
Here is the code to my "hacker."

shell.run("clear")
textulis.slowPrint("Hacking!")
sleep(2)
shell.run("clear")
shell.run("a")
shell.run("clear")
print("Hacked!")
As you can see, this is quite simple and easy to put into a floppy.
Wolvan #2
Posted 17 April 2012 - 08:59 PM
why shell.run("a")
EmTeaKay #3
Posted 17 April 2012 - 09:11 PM
Because it's not a program and then it doesn't go back to startup.
MysticT #4
Posted 17 April 2012 - 09:13 PM
Because it's not a program and then it doesn't go back to startup.
???
Doing that would just print "No such program" on the screen, so you are not hacking anything with that code, it just prints text.
Wolvan #5
Posted 17 April 2012 - 10:38 PM
as he said. I would delete that line and write os.shutdown() at the end
EmTeaKay #6
Posted 18 April 2012 - 03:11 AM
I'm not trying to hack per se, just trying to get around the passwords.
Mendax #7
Posted 18 April 2012 - 04:24 AM
Lol, why not just have it blank? :)/>/>
EmTeaKay #8
Posted 18 April 2012 - 04:41 AM
Why not not? This is how I want it, so this is how I'll keep it. I don't mean to go on a rampage like I did last time, but I like it this way.
Wolvan #9
Posted 18 April 2012 - 01:43 PM
If it is only to avoid passwords than it is good
svennp #10
Posted 01 June 2012 - 04:08 PM
the code i use is


print "bypassed startup :)/>/>"

its a bit shorter and works fine for me
Cloudy #11
Posted 01 June 2012 - 04:12 PM
The code I would use is:
Even a blank file works.
my_hat_stinks #12
Posted 01 June 2012 - 05:38 PM
I use
if true then return end

Redundant, but you can never be too careful :)/>/>
Dirkus7 #13
Posted 03 June 2012 - 05:19 PM
Just make a startup file on the disk, and save the empty file. Put in a disk drive and it works. sometimes, when people are being really stupid, i just press ctrl+t.
Hexicube #14
Posted 10 June 2012 - 06:26 PM
*modifies shell to prioritise computer PC "forcedstartup" file over floppy "startup" file, uses pullEventRaw() to prevent ctrl+t bypass*
I should give my server IP, I am fairly decent with lua and would like people to crack open my protection! :(/>/>

But yeah, it only happens because floppy startups are prioritised over PC startups, so when you stick a floppy in with a file named "startup" the usual booting of a PC startup file is ditched.

Oh, also, if you own a server, you could always edit the rom startup file…although changing the boot order in shell probably works better…
Mtdj2 #15
Posted 15 July 2012 - 10:41 AM
You can totally protect your computer with your password startup program be on a floppy at the top of the computer. (Top is highest priority, tested in my singleplayer world.)
Oh yea, btw, the startup for your computer should have a termination block at all times.
lewisholcombe #16
Posted 31 March 2013 - 06:23 AM
What happens when theres no Disk Drive on it?
+ People add os.pullEvent = os.pullEventRaw on the top of the password program so people cant ctrl+t it
Mailmanq! #17
Posted 31 March 2013 - 06:28 AM
Off topic:
How do you have a signature that long?
lewisholcombe #18
Posted 31 March 2013 - 11:35 AM
Off topic:
How do you have a signature that long?
Yeah how do you?
Cruor #19
Posted 31 March 2013 - 11:49 AM
Locked to keep the foul arts of necromancy from spreading.