new: saving unit's fingerprint to /etc/pwnagotchi/fingerprint for easy access

This commit is contained in:
Simone Margaritelli
2019-10-14 11:36:42 +02:00
parent f8a28d375b
commit a8a0f842a3
3 changed files with 8 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if __name__ == '__main__':
keypair = KeyPair(view=display)
agent = Agent(view=display, config=config, keypair=keypair)
logging.info("%s@%s (v%s)" % (pwnagotchi.name(), agent._keypair.fingerprint, pwnagotchi.version))
logging.info("%s@%s (v%s)" % (pwnagotchi.name(), agent.fingerprint(), pwnagotchi.version))
for _, plugin in plugins.loaded.items():
logging.debug("plugin '%s' v%s loaded from %s" % (plugin.__name__, plugin.__version__, plugin.__file__))