this post was submitted on 09 Jul 2023
373 points (97.7% liked)
Asklemmy
43945 readers
576 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
That's favorite teacher energy right there