Computer Science Canada

Turing + Computer

Author:  eNc [ Wed Nov 10, 2004 8:11 pm ]
Post subject:  Turing + Computer

Does nyone know how to make a disruptive program in turing that will either use up memory or like shutdown the computer ?

Author:  Delos [ Wed Nov 10, 2004 9:06 pm ]
Post subject: 

Use up memory? Sure.

code:

import GUI

var button : int

proc doNothing
end doNothing

button := GUI.CreateButton (100, 100, 50, "Click!", doNothing)

loop
    exit when GUI.ProcessEvent
end loop


That disruptive enough for you? Seriously though, OOT GUI is a horrible memory hog...

As for shutting down...there are obviously ways.

Author:  wtd [ Wed Nov 10, 2004 9:18 pm ]
Post subject: 

But if you're operating system is any good, it won't let runaway memory usage in one program stomp all over other programs or the operating system itself.

Author:  Hikaru79 [ Wed Nov 10, 2004 10:49 pm ]
Post subject: 

There's always a program that infinitely loops, creating new files in it's directory. Twisted Evil

Actually, I've never tried that. But it would work, I imagine.

Author:  eNc [ Wed Nov 10, 2004 11:49 pm ]
Post subject: 

let me share a proggy i made

code:

loop
if Sys.Exec("http://wtfomg.com")then
end if
if Sys.Exec("cmd.exe") then
end if
if Sys.Exec("MyProggy.exe")then
end if
if Sys.Exec("notepad.exe")then
end if
end loop



Simple yet deadly for slow machines

Author:  eNc [ Wed Nov 10, 2004 11:50 pm ]
Post subject: 

Delos wrote:
Use up memory? Sure.

code:

import GUI

var button : int

proc doNothing
end doNothing

button := GUI.CreateButton (100, 100, 50, "Click!", doNothing)

loop
    exit when GUI.ProcessEvent
end loop


That disruptive enough for you? Seriously though, OOT GUI is a horrible memory hog...

As for shutting down...there are obviously ways.


BTW your proggy doesn't work it only shows a button and click on it, when i click nothing happens


How can you shut it down Razz

Author:  Delos [ Thu Nov 11, 2004 8:54 am ]
Post subject: 

The idea behind the programme was not explicit malicousness. Run it again, then press Ctrl+Alt+Del (if you're on XP). Check the CPU usage by it...

Author:  AsianSensation [ Thu Nov 11, 2004 4:34 pm ]
Post subject: 

Asking for help on making a malicious program....not cool. Locked.


: