mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
rename standalone template
This commit is contained in:
parent
9db1c10230
commit
773b27954d
6 changed files with 15 additions and 15 deletions
|
@ -14,7 +14,7 @@ define KNOWN_STANDALONE_DEFINITIONS
|
||||||
| LF_SAMYRUN | HID26 read/clone/sim |
|
| LF_SAMYRUN | HID26 read/clone/sim |
|
||||||
| (default) | - Samy Kamkar |
|
| (default) | - Samy Kamkar |
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
| LF_ICERUN | standalone mode skeleton |
|
| LF_SKELETON | standalone mode skeleton |
|
||||||
| | - iceman |
|
| | - iceman |
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
| LF_PROXBRUTE | HID ProxII bruteforce |
|
| LF_PROXBRUTE | HID ProxII bruteforce |
|
||||||
|
@ -55,7 +55,7 @@ define KNOWN_STANDALONE_DEFINITIONS
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
endef
|
endef
|
||||||
|
|
||||||
STANDALONE_MODES := LF_SAMYRUN LF_ICERUN LF_PROXBRUTE LF_HIDBRUTE LF_ICEHID LF_EM4100EMUL LF_EM4100RWC
|
STANDALONE_MODES := LF_SAMYRUN LF_SKELETON LF_PROXBRUTE LF_HIDBRUTE LF_ICEHID LF_EM4100EMUL LF_EM4100RWC
|
||||||
STANDALONE_MODES += HF_YOUNG HF_MATTYRUN HF_COLIN HF_BOG HF_14ASNIFF HF_LEGIC HF_MSDSAL
|
STANDALONE_MODES += HF_YOUNG HF_MATTYRUN HF_COLIN HF_BOG HF_14ASNIFF HF_LEGIC HF_MSDSAL
|
||||||
STANDALONE_MODES_REQ_SMARTCARD :=
|
STANDALONE_MODES_REQ_SMARTCARD :=
|
||||||
STANDALONE_MODES_REQ_FLASH := HF_COLIN HF_BOG HF_14ASNIFF LF_ICEHID
|
STANDALONE_MODES_REQ_FLASH := HF_COLIN HF_BOG HF_14ASNIFF LF_ICEHID
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Generic standalone Mode injection of source code
|
# Generic standalone Mode injection of source code
|
||||||
|
|
||||||
SRC_STANDALONE = placeholder.c
|
SRC_STANDALONE = placeholder.c
|
||||||
# WITH_STANDALONE_LF_ICERUN
|
# WITH_STANDALONE_LF_SKELETON
|
||||||
ifneq (,$(findstring WITH_STANDALONE_LF_ICERUN,$(APP_CFLAGS)))
|
ifneq (,$(findstring WITH_STANDALONE_LF_SKELETON,$(APP_CFLAGS)))
|
||||||
SRC_STANDALONE = lf_icerun.c
|
SRC_STANDALONE = lf_skeleton.c
|
||||||
endif
|
endif
|
||||||
# WITH_STANDALONE_LF_SAMYRUN
|
# WITH_STANDALONE_LF_SAMYRUN
|
||||||
ifneq (,$(findstring WITH_STANDALONE_LF_SAMYRUN,$(APP_CFLAGS)))
|
ifneq (,$(findstring WITH_STANDALONE_LF_SAMYRUN,$(APP_CFLAGS)))
|
||||||
|
|
|
@ -224,7 +224,7 @@ void RunMod() {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
// exit from IceRun, send a usbcommand.
|
// exit from RunMod, send a usbcommand.
|
||||||
if (data_available()) break;
|
if (data_available()) break;
|
||||||
|
|
||||||
// Was our button held down or pressed?
|
// Was our button held down or pressed?
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||||
// the license.
|
// the license.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// main code for skeleton aka IceRun by Iceman
|
// main code for skeleton by Iceman
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#include "standalone.h" // standalone definitions
|
#include "standalone.h" // standalone definitions
|
||||||
#include "proxmark3_arm.h"
|
#include "proxmark3_arm.h"
|
||||||
|
@ -15,19 +15,19 @@
|
||||||
#include "dbprint.h"
|
#include "dbprint.h"
|
||||||
|
|
||||||
void ModInfo(void) {
|
void ModInfo(void) {
|
||||||
DbpString(" LF skeleton mode - aka IceRun (iceman)");
|
DbpString(" LF skeleton mode - aka Skeleton (iceman)");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunMod() {
|
void RunMod() {
|
||||||
StandAloneMode();
|
StandAloneMode();
|
||||||
Dbprintf("[=] LF skeleton code a.k.a IceRun started");
|
Dbprintf("[=] LF skeleton code a.k.a Skeleton started");
|
||||||
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
||||||
|
|
||||||
// the main loop for your standalone mode
|
// the main loop for your standalone mode
|
||||||
for (;;) {
|
for (;;) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
// exit from IceRun, send a usbcommand.
|
// exit from RunMod, send a usbcommand.
|
||||||
if (data_available()) break;
|
if (data_available()) break;
|
||||||
|
|
||||||
// Was our button held down or pressed?
|
// Was our button held down or pressed?
|
|
@ -3,7 +3,7 @@
|
||||||
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 `Makefile.inc` and `Makefile.hal`
|
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 `Makefile.inc` and `Makefile.hal`
|
||||||
|
|
||||||
If you want to implement a new standalone mode, you need to implement the methods provided in `standalone.h`.
|
If you want to implement a new standalone mode, you need to implement the methods provided in `standalone.h`.
|
||||||
Have a look at the skeleton standalone mode called IceRun, in the files `lf_icerun.c lf_icerun.h`.
|
Have a look at the skeleton standalone mode, in the file `lf_skeleton.c`.
|
||||||
|
|
||||||
As it is now, you can only have one standalone mode installed at the time.
|
As it is now, you can only have one standalone mode installed at the time.
|
||||||
|
|
||||||
|
@ -83,9 +83,9 @@ STANDALONE_MODES_REQ_FLASH :=
|
||||||
Add your source code files like the following sample in the `Makefile.inc`
|
Add your source code files like the following sample in the `Makefile.inc`
|
||||||
|
|
||||||
```
|
```
|
||||||
# WITH_STANDALONE_LF_ICERUN
|
# WITH_STANDALONE_LF_SKELETON
|
||||||
ifneq (,$(findstring WITH_STANDALONE_LF_ICERUN,$(APP_CFLAGS)))
|
ifneq (,$(findstring WITH_STANDALONE_LF_SKELETON,$(APP_CFLAGS)))
|
||||||
SRC_STANDALONE = lf_icerun.c
|
SRC_STANDALONE = lf_skeleton.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# WITH_STANDALONE_LF_FOO
|
# WITH_STANDALONE_LF_FOO
|
||||||
|
|
|
@ -72,7 +72,7 @@ Here are the supported values you can assign to `STANDALONE` in `Makefile.platfo
|
||||||
| STANDALONE | DESCRIPTION |
|
| STANDALONE | DESCRIPTION |
|
||||||
|-----------------|----------------------------------------|
|
|-----------------|----------------------------------------|
|
||||||
| | No standalone mode
|
| | No standalone mode
|
||||||
| LF_ICERUN | standalone mode skeleton - Iceman
|
| LF_SKELETON | standalone mode skeleton - Iceman
|
||||||
| LF_EM4100EMUL | LF EM4100 simulator standalone mode - temskiy
|
| LF_EM4100EMUL | LF EM4100 simulator standalone mode - temskiy
|
||||||
| LF_EM4100RWC | LF EM4100 read/write/clone mode - temskiy
|
| LF_EM4100RWC | LF EM4100 read/write/clone mode - temskiy
|
||||||
| LF_HIDBRUTE | HID corporate 1000 bruteforce - Federico dotta & Maurizio Agazzini
|
| LF_HIDBRUTE | HID corporate 1000 bruteforce - Federico dotta & Maurizio Agazzini
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue