Skip to content

Commit

Permalink
Add note for generating Flipper password
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart authored May 8, 2024
1 parent 851f78c commit d97616f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ object Flipper {
.append(Debug.separator).append("Tearing 2: 00")
.append(Debug.separator).append("Pages total: 135")
pages.forEachIndexed{ index, bytes ->
if (index == 133) {
// turbospok/Flipper-NTAG215-password-converter
// pwd.append(uid[1] ^ uid[3] ^ 0xAA)
// pwd.append(uid[2] ^ uid[4] ^ 0x55)
// pwd.append(uid[3] ^ uid[5] ^ 0xAA)
// pwd.append(uid[4] ^ uid[6] ^ 0x55)
}
bytes?.let {
contents.append(Debug.separator).append("Page $index: ${it.toHex().hexFormat}")
}
Expand All @@ -56,4 +63,4 @@ object Flipper {
)
} catch (ignored: Exception) { }
}
}
}

0 comments on commit d97616f

Please sign in to comment.