mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
redesign
This commit is contained in:
+2
-2
@@ -1034,7 +1034,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_WIPE: {
|
||||
em4x50_wipe((em4x50_data_t *)packet->data.asBytes);
|
||||
em4x50_wipe((uint32_t *)packet->data.asBytes);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_BRUTE: {
|
||||
@@ -1042,7 +1042,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_LOGIN: {
|
||||
em4x50_login((em4x50_data_t *)packet->data.asBytes);
|
||||
em4x50_login((uint32_t *)packet->data.asBytes);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_RESET: {
|
||||
|
||||
+109
-190
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -23,9 +23,9 @@ void em4x50_info(em4x50_data_t *etd);
|
||||
void em4x50_write(em4x50_data_t *etd);
|
||||
void em4x50_write_password(em4x50_data_t *etd);
|
||||
void em4x50_read(em4x50_data_t *etd);
|
||||
void em4x50_wipe(em4x50_data_t *etd);
|
||||
void em4x50_wipe(uint32_t *password);
|
||||
void em4x50_brute(em4x50_data_t *etd);
|
||||
void em4x50_login(em4x50_data_t *etd);
|
||||
void em4x50_login(uint32_t *password);
|
||||
void em4x50_reset(void);
|
||||
void em4x50_watch(void);
|
||||
|
||||
|
||||
+111
-132
File diff suppressed because it is too large
Load Diff
+4
-8
@@ -43,14 +43,10 @@
|
||||
typedef struct {
|
||||
bool addr_given;
|
||||
bool pwd_given;
|
||||
bool newpwd_given;
|
||||
uint8_t password[4];
|
||||
uint8_t new_password[4];
|
||||
uint8_t address;
|
||||
uint8_t word[4];
|
||||
uint32_t start_password;
|
||||
uint32_t stop_password;
|
||||
uint32_t login_password;
|
||||
uint32_t password1;
|
||||
uint32_t password2;
|
||||
uint32_t word;
|
||||
uint32_t addresses;
|
||||
} em4x50_data_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user