TuoniUser¶ class tuoni.TuoniUser(conf, c2)[source]¶ A class that provides data and functionality for users. username¶ The username of the user. Type: str enabled¶ Indicates whether the user is enabled. Type: bool authorities¶ A list of authorities or roles assigned to the user. Type: list[str] disable()[source]¶ Disable the user. enable()[source]¶ Enable the user. reload()[source]¶ Reload the user data from the C2 server. set_authorities(authorities)[source]¶ Change the authorities assigned to the user. set_password(new_password)[source]¶ Set a new password for the user.