i wanna write a program that deletes mbr. where do i start :3

i wanna write a program that deletes mbr

where do i start :3

  1. 1 week ago
    Anonymous

    (or grub for that case i don't really mind teehee)

  2. 1 week ago
    Anonymous

    >where do i start :3
    at Sector 0

    • 1 week ago
      Anonymous

      wasn't even a joke, just dd the first 512 bytes or write a program that does the same

      • 1 week ago
        Anonymous

        what's dd

        • 1 week ago
          Anonymous

          dragon dildo

        • 1 week ago
          Anonymous

          disk destroyer

          • 1 week ago
            Anonymous

            thanks, thought he meant titties.. i knew i was off

    • 1 week ago
      Anonymous

      i am so retarded i barely made it to day 2, can you explain in further detail.. i barely know how to open google

      • 1 week ago
        Anonymous

        see that box where the cables from your monitor run? take a hammer and start hitting it until it's dust
        simplest way to delete mbr in your case

        • 1 week ago
          Anonymous

          i am not computer expert but i have a feeling you are misleading me

  3. 1 week ago
    Anonymous

    aww man )": somebody has already thought of a virus like that before me )':
    there's a virus for everything nowdays )":

  4. 1 week ago
    Anonymous

    >i wanna write a program that deletes mbr
    you can write a easy shell script

    echo '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' > /dev/sda

    • 1 week ago
      Anonymous

      Says permission denied

      • 1 week ago
        Anonymous

        You'd need to run it as sudo of course.

        • 1 week ago
          Anonymous

          It doesn't do anything, just goes back to the terminal line

          • 1 week ago
            Anonymous

            maybe the pc has some kind of self protection mechanism or something

          • 1 week ago
            Anonymous

            Please don't tell me you actually ran it on your PC?

            maybe the pc has some kind of self protection mechanism or something

            That would be the expected behaviour, there's no feedback

    • 1 week ago
      Anonymous

      is that for real? in the past i already fell to the trap of a guy who knows linux shit and deleted my whole soft drive

      • 1 week ago
        Anonymous

        that just overwrites the first 512 bytes of the disk (where mbr is) with 0

    • 1 week ago
      Anonymous

      so can i technically write a program in batch that does that (or whatever the linux equivalent is)?

      • 1 week ago
        Anonymous

        That would work in Linux, yes

        On Windows you don't even need admin privileges (amazingly). You can use WriteFile but I can't remember how I did it exactly.
        >https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile
        >A write on a volume handle will succeed if the volume does not have a mounted file system, or if one of the following conditions is true:
        >The sectors to be written to are boot sectors.
        ...

        Yeah, drives without mounted system partitions are user editable, makes sense if you want to be able to format any drive without admin privileges

        • 1 week ago
          Anonymous

          so if i put

          >i wanna write a program that deletes mbr
          you can write a easy shell script

          echo '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' > /dev/sda

          in terminal under root will my pc not boot after i restart?

          • 1 week ago
            Anonymous

            if you use MBR and put in the right /dev/[drive], it won't

        • 1 week ago
          Anonymous

          You can erase the boot sector of a mounted drive with WriteFile too, if my memory serves me right.

          • 1 week ago
            Anonymous

            That would work in Linux, yes

            [...]
            Yeah, drives without mounted system partitions are user editable, makes sense if you want to be able to format any drive without admin privileges

            Although actually, you may have to have admin privilages now I look it up, sorry to mislead.

  5. 1 week ago
    Anonymous

    #include <stdio.h>
    printf("LOL");
    system("sudo dd if=/dev/urandom of=/dev/sda1 bs=512M");
    or something similar

  6. 1 week ago
    Anonymous

    On Windows you don't even need admin privileges (amazingly). You can use WriteFile but I can't remember how I did it exactly.
    >https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile
    >A write on a volume handle will succeed if the volume does not have a mounted file system, or if one of the following conditions is true:
    >The sectors to be written to are boot sectors.
    ...

  7. 1 week ago
    Anonymous

    is mbr deletion permanent damage, if not is it just a pain in the ass that takes a long time to fix?

    • 1 week ago
      Anonymous

      Just a pain in the ass for a experienced user, it's easy to fix and there's no loss of data
      Slightly more evil would be deleting the partition table

      • 1 week ago
        Anonymous

        is deleting the part table worse than deleting the mbr or is the mbr under the part table?

        • 1 week ago
          Anonymous

          it's slightly worse, partition table is after the mbr
          most of the time it can still be recovered though without data loss

          next would be deleting the MFT, which would not cause any actual data loss either but all your files would be without names and not in folders anymore, if you try to recover them

          • 1 week ago
            Anonymous

            so, can you delete all of those three things, or is one under the other, what would be more efficient for the most chaos and in general what each one does?

            • 1 week ago
              Anonymous

              the worst would be formatting the entire drive

              so can i technically write a program that deletes whatever thingy does the most damage (i got pretty confused lol but one of them would be good) and than restarts the computer :flushed:

              you can write a program that just deletes everything on the drive and then restarts it

              • 1 week ago
                Anonymous

                i think i am a little confused, what would be the result of deleting mbr part compared to outright formatting the drive

              • 1 week ago
                Anonymous

                first ones will produce little to no data loss if you try to recover it
                deleting the whole drive will destroy most files

              • 1 week ago
                Anonymous

                i meant as what would happen to the computer after deleting the mbr part, after it restarts for the first time

              • 1 week ago
                Anonymous

                if the computer uses mbr, a black screen asking for a bootable media
                most computers these days will use uefi and efi booting though

              • 1 week ago
                Anonymous

                huh, that sounds lame as fuck.. how most actual mbr viruses work?

              • 1 week ago
                Anonymous

                exactly like described above

              • 1 week ago
                Anonymous

                wait so that's it?, gawd damn i went for the wrong thing.. what is some cool chaos causing shit that i can do

              • 1 week ago
                Anonymous

                oh, i think i'm a little confused, what would be the result of deleting the mbr part compared to formatting the whole drive?.

  8. 1 week ago
    Anonymous

    # wipefs -a /dev/sda

    Jesus fuck, noobs.

  9. 1 week ago
    Anonymous

    damn everyone here is so smart and shit, i still can't figure out why the system theme on firefox doesn't match the system's one

  10. 1 week ago
    Anonymous

    so can i technically write a program that deletes whatever thingy does the most damage (i got pretty confused lol but one of them would be good) and than restarts the computer :flushed:

  11. 1 week ago
    Anonymous
  12. 1 week ago
    Anonymous

    fuck man the original one didn't post until the second one posted very embarrassing

  13. 1 week ago
    Anonymous

    dd if=/dev/zero of=/dev/sda bs=512 count=1

    • 1 week ago
      Anonymous

      i am no big on commands and such, what does that do lol

Your email address will not be published.