def run(self, app): sys.stdout.write('[+] running mod: %s\n' % self.__class__.__name__.lower()) f_source = func.generateUrlsFile(app, True, True, True) cmd = eval(app.config['screenshot']['command']) os.system(cmd)
def run(self, app): sys.stdout.write('[+] running mod: %s\n' % self.__class__.__name__.lower()) f_source = func.generateUrlsFile(app, True, False, False) cmd = eval(app.config['quickhits']['command']) # print(cmd) os.system(cmd)