A scriptable Mifare Classic tool.
SolaNFC is a scriptable Mifare Classic tool by leveraging IntelliJ IDEA and Kotlin. SolaNFC provides you the ability to write concise scripts with code completion and easy execution, allows you to create your prototype rapidly.
- Block Authentication
- Block Reading/Writing
- Support unlocked cards (Chinese Clone)
- Dumping/Formatting utilities
- PC/SC
- ACR122U
- Java Development Kit(JDK) 21 or higher
- IntelliJ IDEA 2024.1 or above
- Clone this repository
- Import as IntelliJ IDEA project via
build.gralde
file. - Wait for IntelliJ IDEA while creating the project structure.
- Create your script inside
scripts/custom
folder.
IntelliJ IDEA should provide you with code completion automatically.
You can get your current connected tag by invoking the getCard
function.
val card = getCard()!!
After your operations are done, you can wait for your tag to disconnect by using waitDisconnect
, this function blocks
until the tag is disconnected.
Simply by right-clicking your current editing script inside IntelliJ IDEA and choose Run/Debug
action.
For more examples, check out the sample scripts inside scripts/sample
folder.