예제 #1
0
    def __init__(self, targets, args):
        self.q = Queue()
        self.args = args
        self.stopping = Event()
        self.targets = targets

        self.exclude_regexs = self.gen_exclusions()

        fs.create_dir(settings.BASE_DIR)
        for target in self.targets:
            fs.create_dir(settings.BASE_DIR + target + "/")
예제 #2
0
 def create_path(self):
     fs.create_dir(self.path + "/")
예제 #3
0
    def run(self):
        fs.create_dir(settings.BASE_DIR + "amass/")

        cp = subprocess.run(
            ["amass", "-d", self.wildcard, "-o", self.output_file, "-active"],
            stdout=subprocess.DEVNULL)
예제 #4
0
 def __init__(self, wildcard):
     self.wildcard = wildcard
     fs.create_dir(settings.BASE_DIR)
예제 #5
0
 def run(self):
     fs.create_dir(settings.BASE_DIR + "subfinder/")
     cp = subprocess.run(
         ["subfinder", "-d", self.wildcard, "-o", self.output_file],
         stdout=subprocess.DEVNULL)