113 posts
Posted 02 April 2012 - 09:06 PM
Hello. I am going to give you the code to "prank" your friends or people you don't like on your server. This makes it so the computer is unusable.
Spoiler
local oldPull = os.pullEvent;
os.pullEvent = os.pullEventRaw;
term.clear() -- Clears screen
term.setCursorPos(1,1) -- Puts where you type back to top
sleep(10000000000000000000000000000000000000000)
os.reboot()
os.pullEvent = oldPull;
Put this code into startup file. When the computer starts up, type
edit startup
You'll be showen a blank screen. Type in that code for endless 'lolz'!
5 posts
Posted 05 April 2012 - 01:32 PM
This is simpler and shorter
shell.resolveProgram = function() end
113 posts
Posted 05 April 2012 - 09:45 PM
This is simpler and shorter
shell.resolveProgram = function() end
This is full of troll! And this makes it so they think they're making a mistake.
2447 posts
Posted 06 April 2012 - 10:52 PM
Even shorter.
os.shutdown()
864 posts
Location
Sometime.
Posted 06 April 2012 - 10:55 PM
Not long enough..
@Cloudy
Yes.
12 posts
Location
Brazil
Posted 03 August 2012 - 02:27 PM
Even shorter.
os.shutdown()
1. Make a floppy disk
2. Create a startup file
3. Insert the floppy disk on a disk drive
4. Profit!
14 posts
Location
Poland (in Europe)
Posted 13 August 2012 - 02:33 PM
EVEN shorter!
os.reboot()
24 posts
Posted 13 August 2012 - 03:33 PM
Even faster: Remove their computer.
3790 posts
Location
Lincoln, Nebraska
Posted 13 August 2012 - 03:49 PM
Misnamed as a virus. Should just be a troll program. Virus indicates that it overwrites previous coding for malicious intent.
463 posts
Location
Germany
Posted 15 August 2012 - 08:16 PM
One Time, I had a program that (how 1lann said it) Ruined the whole Computer!
No Str+R, Str+S, Str+T and so on…
But he deleted the file and so I don't know the code of the vire anymore…
"But isn't the System hardcoded?"
Yes, but I know what I saw!
463 posts
Location
Germany
Posted 16 August 2012 - 10:16 AM
I think the Ctrl+R and Ctrl+S function is hardcoded?
One time I "deleted" the os.shutdown function and Ctrl+S still worked.
And i typed coroutine.yield=function() end and I reboote the PC using Ctrl+R.
463 posts
Location
Germany
Posted 16 August 2012 - 10:25 AM
Hey Ultimate Vire: (No Ctrl+R, No Ctrl+S, No Ctrl+T):
Deleted it, because its malicious…
496 posts
Location
Harlem, NY
Posted 16 August 2012 - 10:04 PM
Please refrain from posting malicious scripts on the forums.
62 posts
Posted 17 August 2012 - 01:47 AM
So, if a program on your actual computer rendered it unusable, that wouldn't be malicious? I would certainly consider it to be.
8543 posts
Posted 17 August 2012 - 01:52 AM
Hey Ultimate Vire: (No Ctrl+R, No Ctrl+S, No Ctrl+T):
function ab()
aa=coroutine.create(ab)
coroutine.resume(aa)
while true do end
end
ac=coroutine.create(ab)
coroutine.resume(ac)
(Tested on 1.3, CCEmu by tomass1997)
Did you test this on computercraft itself, not just an emulator? I'm thinking that would just throw a "too long without yielding".
463 posts
Location
Germany
Posted 17 August 2012 - 04:44 PM
Hey Ultimate Vire: (No Ctrl+R, No Ctrl+S, No Ctrl+T):
Deleted it, because its malicious
Did you test this on computercraft itself, not just an emulator? I'm thinking that would just throw a "too long without yielding".
Youre thinking, im testing.
EDIT: he Lyqyd, can you delete the vire from your post too?
463 posts
Location
Germany
Posted 17 August 2012 - 04:45 PM
So, if a program on your actual computer rendered it unusable, that wouldn't be malicious? I would certainly consider it to be.
It don't changes programs and don't deletes programs.
62 posts
Posted 17 August 2012 - 05:02 PM
Files may not be changed, but it still prevents the computer from being used. On a server that uses a custom shell, you might not even be able to disk boot around it. Thus, it is a form of malware.
Relevant Link:
http://en.wikipedia.org/wiki/Malware
3790 posts
Location
Lincoln, Nebraska
Posted 17 August 2012 - 05:12 PM
Yeah, not virus, but definitely malware…
463 posts
Location
Germany
Posted 17 August 2012 - 08:41 PM
OK then sorry… I'll delete the virus from the forum… But how makes it the computer unusable?
2447 posts
Posted 17 August 2012 - 09:22 PM
Closed. Stick to the rules please guys, don't want to have to hand out warnings.