• Bilb!A
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    I was in a programming class in the 9th grade in which we were taught Visual Basic. I found out that you can run other executable from applications written in Visual Basic using the Shell command and that this bypassed whatever restrictions they had placed on our computers. I could open any Windows XP (I think?) admin utility this way. But more noticeably, I could open the previously disallowed crappy space pinball game. I showed this to some of my friends, and they did the same. A few days later, some of them are suspended for, no shit, “hacking,” because they were caught playing pinball. Not me, though. I kinda resented that.

    Oh, I also did an infinite loop with the “Beep” command in it and this caused my computer to bluescreen and not come back.

    • David Phillipps @lemmy.sedimentarymountains.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 year ago

      We had an assignment to make a calculator app in c#. For the equals button I made it run shell(shutdown -s -f -t 0). It would schedule a shutdown to happen instantly and forcefully close everything. I submitted this assignment. My teacher said he was marking them and when he got to my assignment it shut down his computer and he lost his spreadsheet with everyone’s grade. He was surprisingly good natured about it.