OPERATION SHUT DOWN
WARNING!!!
This program will shut down your computer! You have been warned!!!
-ChezTacoz
This doesn't do anything
@DynamicSquid It's an os.system("shutdown /s /t 10")
which is windows specific... and it's running in an ubuntu container. If you managed to fix it for linux the worst that could happen is that you'd shutdown the container. That's it. You could of course delete the repl in which case the container will be deleted. It's simple.
This just keeps on counting down from 10, and I sneaked a peek at the code. It has a forever loop that just basically says 'are you sure you would like to proceed?'. Very effective if you are trying to annoy someone, lol
@KobeFF this program will shut down your computer if you put it into python and run it
@ChezTacoz Then why didn't you do that? lol. BTW, I'm on Mac, so... :|
@KobeFF it doesn't work on repl.it
@ChezTacoz oh :(
@ChezTacoz if users would regularly shutdown runner's that would be bad would'nt it?
bruh. Anyway i can make it actually shut the computer down if u want. Has to be in a local IDE tho. Not Repl.it
this is a loop
bruh it just loops... XD
You are mixing Windows Batch and Linux Bash... clear
is Bash (cls
in Batch) and shutdown /s /t 10
is Batch (shutdown -h now
(well, somewhat. That immediately shuts down...) in Bash). However, Repl.it does not have shutdown by default installed.
your username kills me
I love how it just repeats and asks you several times if you are really sure!
Lol
And to those scared of it actually shutting the computer down, it doesn’t.
i have just realized windows batch command...
it just loops
the code clearly shows that it does not shut down anything
@AnthonyValdes os.system("shutdown /s /t 10")
it does, its just a very easy string of print's and then a shell command to shutdown(which is windows specific), I wish things like this would stop being put on repl talk
@CSharpIsGud yeah. repl.it doesn't even use windows; if you're going to publish an "exploit", at least know what os you're exploiting...
@sugarfi Linux used to have a buffer overflow exploit that could escalate you from a normal user to root, but im sure its patched now as its very old
@CSharpIsGud Same, It's sooo annoying.
@CSharpIsGud what exploit do you mean? dirtycow? or something else?
@sugarfi not sure what it was named or if it even was, it was in a youtube video I watched a long long time ago
@AnthonyValdes i wasnt expecting this, i didnt see the command, it was similar to the print commands
Realy? I thought you were smart!?
gooooooooodd broo
hmm
cool
LOL I GET SHUT DOWN(HAHA JOKE)
It doesn't do anything
@CTALENT shutdown /s /t 10
only works on windows systems, repl.it runs linux
@Codemonkey51 did you let it shut down your computer or did you cancel?
I tested in repl and the program restarted lol @ChezTacoz
@Codemonkey51 it's supposed to shut down your computer
Ye that's y I didn't download it @ChezTacoz
To everyone who told me I shouldn't have put this program on repl.it:
I'm sorry for being new to coding and trying out something new that I thought would be cool. For future reference I will not try out new things on repl.it.
@CSharpIsGud @sugarfi @RohilPatel @nt998302
@ChezTacoz Noone criticized being new, people criticize
print(1) print(2) print(3)
which gets old the 10th time you see itIt's not something you should feel guilty about, however, since most of us took it as a joke, it's fine. Keep devving @ChezTacoz
@ChezTacoz that wasn't at all what we meant. trying new things is what repl.it is for. however, as @CSharpIsGud said, people criticize stuff that they have seem lots of times before.
@ChezTacoz We didn't mean it that way... I was just messing. My bad! Keep rolling thru, you'll be great someday :)