def start(self): print_info("Comparing build number ({}) against 'Fixed In' build numbers, false positives might happen.".format(information().build_number())) print_table() fmt = "\t{Type}\t{Function Payload}\t\t{Admin}\t\t{Description}" for i in functions: if i == 'uac' and not self.uac or i == 'persist' and not self.persist or i == 'elevate' and not self.elevate or i == 'execute' and not self.execute: continue for info in functions[i]: if int(info["Works From"]) <= int(information().build_number()) < int(info["Fixed In"]): table_success(info["Id"], fmt.format(**info)) else: table_error(info["Id"], fmt.format(**info)) return Constant.output
def start(self): print_info( "Comparing build number ({buildnumber}) against 'Fixed In' build numbers" .format(buildnumber=information().build_number())) print_table() for i in functions: if i == "uac" and not self.uac or i == "persist" and not self.persist or i == "elevate" and not self.elevate: continue for info in functions[i]: if int(info["Works From"]) <= int( information().build_number()) < int(info["Fixed In"]): table_success(id=info["Id"], type=info["Type"], description=info["Description"]) else: table_error(id=info["Id"], type=info["Type"], description=info["Description"]) return Constant.output
def start(self): print_info("Comparing build number ({}) against 'Fixed In' build numbers, false positives might happen.".format(information().build_number())) print_table() for i in functions: if i == 'uac' and not self.uac or i == 'persist' and not self.persist: continue for info in functions[i]: if int(info["Works From"]) <= int(information().build_number()) < int(info["Fixed In"]): table_success(info["Id"], "\t{}\t{}\t\t{}\t\t{}".format(str(info["Type"]), str(info["Function Payload"]), str(info["Admin"]), str(info["Description"]))) else: table_error(info["Id"], "\t{}\t{}\t\t{}\t\t{}".format(str(info["Type"]), str(info["Function Payload"]), str(info["Admin"]), str(info["Description"]))) return Constant.output