proxmark3/armsrc/Standalone
2018-03-25 21:16:23 +08:00
..
hf_colin.c Fix buffer overrun in hf_colin 2018-03-25 21:16:23 +08:00
hf_colin.h UPDATES HF_COLIN to current 2018-03-10 13:13:21 +01:00
hf_mattyrun.c ADD: 'MattyRun' standalone - added the MattyRun standalone mode. *untested compilation* 2018-03-12 12:27:43 +01:00
hf_mattyrun.h ADD: 'MattyRun' standalone - added the MattyRun standalone mode. *untested compilation* 2018-03-12 12:27:43 +01:00
hf_young.c FIX: iso-14443a RATS optional (piwi) 2017-10-01 22:06:06 +02:00
hf_young.h ...added the standalone folder.. 2017-08-26 13:01:35 +02:00
lf_hidbrute.c minor adjustements 2018-02-22 15:13:43 +01:00
lf_hidbrute.h CHG: updade some define and helptext 2017-10-29 03:47:00 +01:00
lf_proxbrute.c fix: StandAloneMode proxbrute - missing variable and missing define. ZERO = 0. 2018-02-22 15:03:20 +01:00
lf_proxbrute.h ADD: StandAloneMode LF Proxbrute by @brad-anton 2017-10-29 03:51:07 +01:00
lf_samyrun.c minor adjustements 2018-02-22 15:13:43 +01:00
lf_samyrun.h minor adjustments. return instead of goto 2017-09-28 22:30:33 +02:00
readme.md CHG: updade some define and helptext 2017-10-29 03:47:00 +01:00
standalone.h minor adjustments. return instead of goto 2017-09-28 22:30:33 +02:00

StandAlone Modes

This contains functionality for different StandAlone modes. The fullimage will be built given the correct compiler flags used. Build targets for these files are contained in armsrc/Makefile.

If you want to implement a new standalone mode, you need to implement the methods provided in standalone.h.

Implementing a standalone mode

Each standalone mod needs to have its own compiler flag to be added in armsrc\makefile and inside the function AppMain inside AppMain.c. Inside Appmain a call to RunMod is needed. It looks strange because of what kinds of dependencies your mode will have. The RunMod function is your "main" function when running. You need to check for Usb commands, in order to let the pm3 client break the standalone mode.

As it is now, you can only have one standalone mode installed at the time.

Name

Use HF/LF to denote which frequence your mod is targeting.
Use you own github name/similar for perpetual honour to denote your mod

Samples:

-DWITH_LF_ICERUN

-DWITH_LF_SAMYRUN

-DWITH_LF_PROXBRUTE

-DWITH_LF_HIDBRUTE

-DWITH_HF_YOUNG

-DWITH_HF_MATTYRUN

Adding identification of your mode

Do please add a identification string in the function printStandAloneModes inside armsrc\appmain.c This will enable an easy way to detect on client side which standalone mods has been installed on the device.