def payload_info(self, payload_obj, showTitle=True, showInfo=True): """ Print out information about a specified payload. payload_obj = the payload object to print information on showTitle = whether to show the Veil title showInfo = whether to show the payload information bit """ print(helpers.color(" Payload Information:\n")) print("\tName:\t\t" + payload_obj.name) print("\tLanguage:\t" + payload_obj.language) print("\tRating:\t\t" + payload_obj.rating) # format this all nice-like print(evasion_helpers.format_long("Description:", payload_obj.description)) # if required options were specified, output them if hasattr(payload_obj, 'required_options'): self.print_options_screen(payload_obj) return