FIX: 'standanlonemode colin' - mifare1ksim called with correct params (@cjbrigato)
This commit is contained in:
@@ -607,7 +607,7 @@ failtag:
|
|||||||
vtsend_set_attribute(NULL, 5);
|
vtsend_set_attribute(NULL, 5);
|
||||||
DbprintfEx(FLAG_NOLOG, "[ SIMULATION ]");
|
DbprintfEx(FLAG_NOLOG, "[ SIMULATION ]");
|
||||||
vtsend_set_attribute(NULL, 0);
|
vtsend_set_attribute(NULL, 0);
|
||||||
Mifare1ksim(0, 0, 0, NULL);
|
Mifare1ksim((FLAG_4B_UID_IN_DATA | FLAG_UID_IN_EMUL ), 0, 0, cjuid);
|
||||||
vtsend_cursor_position_restore(NULL);
|
vtsend_cursor_position_restore(NULL);
|
||||||
DbprintfEx(FLAG_NOLOG, "[ SIMUL ENDED ]%s", _GREEN_, _WHITE_);
|
DbprintfEx(FLAG_NOLOG, "[ SIMUL ENDED ]%s", _GREEN_, _WHITE_);
|
||||||
cjSetCursLeft();
|
cjSetCursLeft();
|
||||||
|
|||||||
@@ -16,20 +16,18 @@
|
|||||||
#ifndef __HF_COLIN_H
|
#ifndef __HF_COLIN_H
|
||||||
#define __HF_COLIN_H
|
#define __HF_COLIN_H
|
||||||
|
|
||||||
|
#include <stdbool.h> // for bool
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "standalone.h" // standalone definitions
|
||||||
#include "proxmark3.h"
|
#include "proxmark3.h"
|
||||||
#include "mifareutil.h"
|
#include "mifareutil.h"
|
||||||
#include "iso14443a.h"
|
#include "iso14443a.h"
|
||||||
//#include "printf.h"
|
|
||||||
#include "protocols.h"
|
#include "protocols.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "standalone.h" // standalone definitions
|
|
||||||
#include <stdbool.h> // for bool
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
//#include <stdio.h>
|
|
||||||
#include "vtsend.h"
|
#include "vtsend.h"
|
||||||
#include "apps.h"
|
#include "apps.h"
|
||||||
|
#include "usb_cmd.h" // mifare1ksim flags
|
||||||
|
|
||||||
#define _RED_ "\x1b[31m"
|
#define _RED_ "\x1b[31m"
|
||||||
#define _GREEN_ "\x1b[32m"
|
#define _GREEN_ "\x1b[32m"
|
||||||
|
|||||||
Reference in New Issue
Block a user