GithubHelp home page GithubHelp logo

michalmonday / rfid-cloner Goto Github PK

View Code? Open in Web Editor NEW
70.0 9.0 24.0 11.55 MB

Handy device for cloning RFID chips/cards.

C++ 82.36% C 14.11% Processing 0.28% Python 0.40% HTML 2.85%
rfid mfrc522 cloner card

rfid-cloner's Introduction

Difference between versions

1st - Simple cloner with read/write workflow (using Arduino Pro Micro).
2nd - Cloner with graphical user interface, ability to store and manage multiple different cards and use their data at any time for writing or dumping the content through serial to PC (using Esp8266 and a small display).

rfid-cloner's People

Contributors

michalmonday avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rfid-cloner's Issues

Library not there

Functional library not there I can't found that library please help me

nor install :( error code :

In file included from D:\rfidCloner_2\PCinterface.h:5,
from D:\rfidCloner_2\PCinterface.cpp:1:
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode* LinkedList::getNode(int) [with T = String]':
d:\Cache\libraries\LinkedList/LinkedList.h:185:15: required from 'bool LinkedList::add(int, T) [with T = String]'
d:\Cache\libraries\LinkedList/LinkedList.h:176:6: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
167 | return false;
| ^~~~~
In file included from D:\rfidCloner_2\MenuOrganizer.h:14,
from D:\rfidCloner_2\GUI.h:20,
from D:\rfidCloner_2\Settings.cpp:5:
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = MenuOption]':
d:\Cache\libraries\LinkedList/LinkedList.h:321:21: required from 'T LinkedList::get(int) [with T = MenuOption]'
D:\rfidCloner_2\MenuOrganizer.h:79:95: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
167 | return false;
| ^~~~~
In file included from D:\rfidCloner_2\MenuOrganizer.h:14,
from D:\rfidCloner_2\rfidCloner_2.ino:2:
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = MenuOption]':
d:\Cache\libraries\LinkedList/LinkedList.h:321:21: required from 'T LinkedList::get(int) [with T = MenuOption]'
D:\rfidCloner_2\MenuOrganizer.h:79:95: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
167 | return false;
| ^~~~~
In file included from D:\rfidCloner_2\MenuOrganizer.h:14,
from D:\rfidCloner_2\GUI.h:20,
from D:\rfidCloner_2\GUI.cpp:1:
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = MenuOption]':
d:\Cache\libraries\LinkedList/LinkedList.h:321:21: required from 'T LinkedList::get(int) [with T = MenuOption]'
D:\rfidCloner_2\MenuOrganizer.h:79:95: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
167 | return false;
| ^~~~~
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = String]':
d:\Cache\libraries\LinkedList/LinkedList.h:321:21: required from 'T LinkedList::get(int) [with T = String]'
D:\rfidCloner_2\GUI.cpp:96:29: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
D:\rfidCloner_2\Rfid.cpp: In member function 'bool Rfid::WriteCard()':
D:\rfidCloner_2\Rfid.cpp:231:26: error: control reaches end of non-void function [-Werror=return-type]
231 | mfrc522.PCD_StopCrypto1(); // Stop encryption on PCD
| ~~~~~~~~~~~~~~~~~~~~~~~^~
cc1plus.exe: some warnings being treated as errors
D:\rfidCloner_2\MenuOrganizer.cpp: In lambda function:
D:\rfidCloner_2\MenuOrganizer.cpp:146:47: warning: capture of variable 'rfid' with non-automatic storage duration
146 | notification.SetConditionalFunction(0, rfid{ return rfid.WasCardPresented(); });
| ^~~~
In file included from D:\rfidCloner_2\MenuOrganizer.cpp:1:
D:\rfidCloner_2\MenuOrganizer.h:19:13: note: 'Rfid rfid' declared here
19 | extern Rfid rfid;
| ^~~~
D:\rfidCloner_2\MenuOrganizer.cpp: In lambda function:
D:\rfidCloner_2\MenuOrganizer.cpp:178:47: warning: capture of variable 'rfid' with non-automatic storage duration
178 | notification.SetConditionalFunction(0, rfid{ return rfid.WasCardPresented(); });
| ^~~~
In file included from D:\rfidCloner_2\MenuOrganizer.cpp:1:
D:\rfidCloner_2\MenuOrganizer.h:19:13: note: 'Rfid rfid' declared here
19 | extern Rfid rfid;
| ^~~~
D:\rfidCloner_2\MenuOrganizer.cpp: In lambda function:
D:\rfidCloner_2\MenuOrganizer.cpp:194:39: warning: capture of variable 'rfid' with non-automatic storage duration
194 | notification.OnAccept(0, this, rfid{rfid.DumpToSerial(); Notify(1, "Success\nCheck serial monitor\n:)", 1000);});
| ^~~~
In file included from D:\rfidCloner_2\MenuOrganizer.cpp:1:
D:\rfidCloner_2\MenuOrganizer.h:19:13: note: 'Rfid rfid' declared here
19 | extern Rfid rfid;
| ^~~~
D:\rfidCloner_2\MenuOrganizer.cpp: In lambda function:
D:\rfidCloner_2\MenuOrganizer.cpp:274:46: warning: capture of variable 'rfid' with non-automatic storage duration
274 | /onAccept/ this, file_name, rfid, read_source{
| ^~~~
In file included from D:\rfidCloner_2\MenuOrganizer.cpp:1:
D:\rfidCloner_2\MenuOrganizer.h:19:13: note: 'Rfid rfid' declared here
19 | extern Rfid rfid;
| ^~~~
In file included from D:\rfidCloner_2\MenuOrganizer.h:14,
from D:\rfidCloner_2\MenuOrganizer.cpp:1:
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = MenuOption]':
d:\Cache\libraries\LinkedList/LinkedList.h:321:21: required from 'T LinkedList::get(int) [with T = MenuOption]'
D:\rfidCloner_2\MenuOrganizer.h:79:95: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode' in return
167 | return false;
| ^~~~~
d:\Cache\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode
LinkedList::getNode(int) [with T = String]':
d:\Cache\libraries\LinkedList/LinkedList.h:185:15: required from 'bool LinkedList::add(int, T) [with T = String]'
d:\Cache\libraries\LinkedList/LinkedList.h:176:6: required from here
d:\Cache\libraries\LinkedList/LinkedList.h:167:9: error: cannot convert 'bool' to 'ListNode*' in return

need only block 0

hi. i run your sketch , dumping was ok, but when writing a tag always stop at block 4.

Insert new card...
Card UID: 7A 09 81 10
PICC type: MIFARE 1KB
Authenticating using key A...
Authenticating again using key B...
Writing data into block 4

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

Authenticating using key A...
PCD_Authenticate() failed: Timeout in communication.

Its posible to get a sketch that only read and write UID (block 0) in a easier way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.