program to crash a system or corrupt memory

Status
Not open for further replies.

gofeddy

Broken In
I had an interview yesterday and was asked to write a program to crash a system or corrupt it. I tried using arrays by defining a size and exceeding the bound. But he said, the data will be overwritten but the system will not crash.
Do you have any answers to crash the system?
 
Last edited:

Faun

Wahahaha~!
Staff member
just make fork() in recursion.

That will hog the system to a crawl.

And then system will crash surely.
 

piyush gupta

Cyborg Agent
Guys one stuff i tried at my computer labs working


write TSR with infinite loops


pu tit in autoexec.bat

its done

system crashes
 

~Phenom~

The No.1 Stupid
@piyush gupta, can u gimme that TSR with complete procedure. Even I was asked the same que in an interview to write a code that can infect or crash the system but my clever answer was that " I cant think destructive". I was not selected there (What did ya expected? hehe... )
 

piyush gupta

Cyborg Agent
^^Bddy they are expecting u to just give them idea like me is giving to u


telling the code is destructive

and i dont think legel here


i gave u idea


If u wanna know more read Writing TSR by YPK and search some gud TSR online

u will got ur solution
 
Status
Not open for further replies.
Top Bottom