mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
Fuzzers App: attack gui
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
typedef enum {
|
||||
|
||||
// FuzzerCustomEvent
|
||||
FuzzerCustomEventViewMainOk = 100,
|
||||
FuzzerCustomEventViewMainBack,
|
||||
FuzzerCustomEventViewMainBack = 100,
|
||||
FuzzerCustomEventViewMainOk,
|
||||
|
||||
FuzzerCustomEventViewAttackBack,
|
||||
FuzzerCustomEventViewAttackOk,
|
||||
} FuzzerCustomEvent;
|
||||
@@ -3,15 +3,12 @@
|
||||
#include <furi.h>
|
||||
#include <furi_hal.h>
|
||||
|
||||
// TODO replace it
|
||||
typedef enum {
|
||||
FuzzerMainMenuIndexDefaultValues = 0,
|
||||
FuzzerMainMenuIndexLoadFile,
|
||||
FuzzerMainMenuIndexLoadFileCustomUids,
|
||||
|
||||
FuzzerMainMenuIndexMax,
|
||||
} FuzzerMainMenuIndex;
|
||||
typedef struct {
|
||||
uint8_t menu_index;
|
||||
uint8_t proto_index;
|
||||
} FuzzerState;
|
||||
|
||||
typedef enum {
|
||||
FuzzerViewIDMain,
|
||||
FuzzerViewIDAttack,
|
||||
} FuzzerViewID;
|
||||
7
applications/external/pacs_fuzzer/helpers/gui_const.c
vendored
Normal file
7
applications/external/pacs_fuzzer/helpers/gui_const.c
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "gui_const.h"
|
||||
|
||||
const char* fuzzer_attack_names[FuzzerMainMenuIndexMax] = {
|
||||
[FuzzerMainMenuIndexDefaultValues] = "Default Values",
|
||||
[FuzzerMainMenuIndexLoadFile] = "Load File",
|
||||
[FuzzerMainMenuIndexLoadFileCustomUids] = "Load UIDs from file",
|
||||
};
|
||||
12
applications/external/pacs_fuzzer/helpers/gui_const.h
vendored
Normal file
12
applications/external/pacs_fuzzer/helpers/gui_const.h
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
// TODO replace it
|
||||
typedef enum {
|
||||
FuzzerMainMenuIndexDefaultValues = 0,
|
||||
FuzzerMainMenuIndexLoadFile,
|
||||
FuzzerMainMenuIndexLoadFileCustomUids,
|
||||
|
||||
FuzzerMainMenuIndexMax,
|
||||
} FuzzerMainMenuIndex;
|
||||
|
||||
extern const char* fuzzer_attack_names[];
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define FUZZ_TIME_DELAY_MIN (4)
|
||||
#define FUZZ_TIME_DELAY_DEFAULT (8)
|
||||
#define FUZZ_TIME_DELAY_MAX (80)
|
||||
|
||||
typedef enum {
|
||||
DS1990,
|
||||
Metakom,
|
||||
|
||||
Reference in New Issue
Block a user