
-----------------------------------
eNc
Wed Nov 10, 2004 8:11 pm

Turing + Computer
-----------------------------------
Does nyone know how to make a disruptive program in turing that will either use up memory or like shutdown the computer ?

-----------------------------------
Delos
Wed Nov 10, 2004 9:06 pm


-----------------------------------
Use up memory?  Sure.


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.

-----------------------------------
wtd
Wed Nov 10, 2004 9:18 pm


-----------------------------------
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.

-----------------------------------
Hikaru79
Wed Nov 10, 2004 10:49 pm


-----------------------------------
There's always a program that infinitely loops, creating new files in it's directory.  :twisted: 

Actually, I've never tried that. But it would work, I imagine.

-----------------------------------
eNc
Wed Nov 10, 2004 11:49 pm


-----------------------------------
let me share a proggy i made


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

-----------------------------------
eNc
Wed Nov 10, 2004 11:50 pm


-----------------------------------
Use up memory?  Sure.


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 :P

-----------------------------------
Delos
Thu Nov 11, 2004 8:54 am


-----------------------------------
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...

-----------------------------------
AsianSensation
Thu Nov 11, 2004 4:34 pm


-----------------------------------
Asking for help on making a malicious program....not cool. Locked.
