Skip to content

unlimitedsola/SolaNFC

Repository files navigation

SolaNFC

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.

Available Features

  • Block Authentication
  • Block Reading/Writing
  • Support unlocked cards (Chinese Clone)
  • Dumping/Formatting utilities

Supported Interfaces

  • PC/SC

Supported Card Terminals

  • ACR122U

User Guide

Prerequisites

  • Java Development Kit(JDK) 21 or higher
  • IntelliJ IDEA 2024.1 or above

Installation

  1. Clone this repository
  2. Import as IntelliJ IDEA project via build.gralde file.
  3. Wait for IntelliJ IDEA while creating the project structure.
  4. Create your script inside scripts/custom folder.

Code Completion

IntelliJ IDEA should provide you with code completion automatically.

Your first line of code

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.

Executing your script

Simply by right-clicking your current editing script inside IntelliJ IDEA and choose Run/Debug action.

Going further

For more examples, check out the sample scripts inside scripts/sample folder.

About

💳 A scriptable NFC (Mifare Classic) Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published