From 99da4c33526e5dff9b2841a782a6cf9cc41c0aae Mon Sep 17 00:00:00 2001 From: tihmstar Date: Tue, 4 Apr 2017 11:06:35 +0200 Subject: [PATCH] printing apnonce --- futurerestore/futurerestore.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/futurerestore/futurerestore.cpp b/futurerestore/futurerestore.cpp index a4be87ff..01e6c2c6 100644 --- a/futurerestore/futurerestore.cpp +++ b/futurerestore/futurerestore.cpp @@ -154,6 +154,13 @@ plist_t futurerestore::nonceMatchesApTickets(){ int realNonceSize = 0; recovery_get_ap_nonce(_client, &realnonce, &realNonceSize); + info("Got APNonce from device: "); + int i = 0; + for (i = 0; i < realNonceSize; i++) { + info("%02x ", ((unsigned char *)realnonce)[i]); + } + info("\n"); + vectornonces; if (_client->image4supported){