Is there anyway to put in a disk and for it to work without editing anything?
For example: some kid has a door locked, you want to hack it.
You plug in a floppy reader, and put in a floppy. It doesn't work.
How do you get it to be put in and then work automatically?
Autorun?
Started by Noodle, Apr 09 2012 02:11 AM
7 replies to this topic
#1
Posted 09 April 2012 - 02:11 AM
#2
Posted 09 April 2012 - 04:16 AM
Edit a file called 'startup' on the floppy, add this hack code:
/>
Also, here's a less evil version (It makes a backup of startup):
if fs.exists("//startup") then
fs.delete("//startup")
local hFile = fs.open("startup","w")
hFile.write("print("You've been hacked! :P/>/>")")
hFile.close()
else
hFileF = fs.open("startup","w")
hFileF.write("error()")
hFileF.close()
end
Then place a disk drive on the TOP of the persons computer, and insert that floppy into it, then open the terminal, and if it is already running then hold CTRL+R until it reboots. If its not on, then it'll just be instantly hacked. Also, here's a less evil version (It makes a backup of startup):
if fs.exists("//startup") then
local hFileT = fs.open("startup","r")
local nTextDerp = hFileT.readAll()
nFileT.close()
local hFileH = fs.open("startupbackup","w")
hFileH.write(nTextDerp)
hFileH.close()
fs.delete("//startup")
local hFile = fs.open("startup","w")
hFile.write("print("You've been hacked! :D/>/>")")
hFile.close()
else
hFileF = fs.open("startup","w")
hFileF.write("error()")
hFileF.close()
end
#3
Posted 09 April 2012 - 06:22 PM
thesbros, on 09 April 2012 - 04:16 AM, said:
Edit a file called 'startup' on the floppy, add this hack code:
if fs.exists("//startup") then
fs.delete("//startup")
local hFile = fs.open("startup","w")
hFile.write("print("You've been hacked! :P/>/>")")
hFile.close()
else
hFileF = fs.open("startup","w")
hFileF.write("error()")
hFileF.close()
end
.......hFile.write("print("You've been hacked! :D/>/>")")
#4
Posted 25 May 2012 - 05:38 AM
hmm..
You edit disk/startup
shell.run("hello")
plug in a floppy drive then the floppy
CTRL + S to reboot
You edit disk/startup
shell.run("hello")
plug in a floppy drive then the floppy
CTRL + S to reboot
#5
Posted 25 May 2012 - 07:12 AM
thesbros, on 09 April 2012 - 04:16 AM, said:
Edit a file called 'startup' on the floppy, add this hack code:
/>
Also, here's a less evil version (It makes a backup of startup):
if fs.exists("//startup") then
fs.delete("//startup")
local hFile = fs.open("startup","w")
hFile.write("print("You've been hacked! :)/>/>")")
hFile.close()
else
hFileF = fs.open("startup","w")
hFileF.write("error()")
hFileF.close()
end
Then place a disk drive on the TOP of the persons computer, and insert that floppy into it, then open the terminal, and if it is already running then hold CTRL+R until it reboots. If its not on, then it'll just be instantly hacked. Also, here's a less evil version (It makes a backup of startup):
if fs.exists("//startup") then
local hFileT = fs.open("startup","r")
local nTextDerp = hFileT.readAll()
nFileT.close()
local hFileH = fs.open("startupbackup","w")
hFileH.write(nTextDerp)
hFileH.close()
fs.delete("//startup")
local hFile = fs.open("startup","w")
hFile.write("print("You've been hacked! :)/>/>")")
hFile.close()
else
hFileF = fs.open("startup","w")
hFileF.write("error()")
hFileF.close()
end
Or
local hFile = fs.open("startup","w")
if fs.exists("//startup") then
fs.delete("//startup")
hFile.write('print("You've been hacked! :P/>/>")')
else
hFile.write("error()")
end
hFile.close()
Then place a disk drive on the TOP of the persons computer, and insert that floppy into it, then open the terminal, and if it is already running then hold CTRL+R until it reboots. If its not on, then it'll just be instantly hacked. Also, here's a less evil version (It makes a backup of startup):
local hFile = fs.open("startup","w")
if fs.exists("//startup") then
shell.run("move","startup","startupbackup")
end
hFile.write("error()")
hFile.close()
end
#6
Posted 25 May 2012 - 07:17 AM
Its better to use fs.move() then shell.run("move")
so replace
with
so replace
shell.run("move","startup","startupbackup")
with
fs.move("startup", "startupbackup")
#7
Posted 25 May 2012 - 10:56 AM
Why do people drag up old threads with nothing to add to it? No one who has posted today has added anything to the discussion at all.
#8
Posted 25 May 2012 - 11:20 PM
@Cloudy
I did because I wanted to see if there was anything here useful.
I did because I wanted to see if there was anything here useful.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











