projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix headers
[proxmark3-svn]
/
client
/
cmdhfepa.c
diff --git
a/client/cmdhfepa.c
b/client/cmdhfepa.c
index f9f69a885c7f149db1e1b8fbe9643b8f6373c171..786d0da1831a89e2bed31185ede8768955ae0c1e 100644
(file)
--- a/
client/cmdhfepa.c
+++ b/
client/cmdhfepa.c
@@
-8,15
+8,19
@@
// Commands related to the German electronic Identification Card
//-----------------------------------------------------------------------------
// Commands related to the German electronic Identification Card
//-----------------------------------------------------------------------------
-#include "
util
.h"
+#include "
cmdhfepa
.h"
+#include <inttypes.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <stdio.h>
+#include "util.h"
#include "proxmark3.h"
#include "ui.h"
#include "cmdparser.h"
#include "common.h"
#include "cmdmain.h"
#include "proxmark3.h"
#include "ui.h"
#include "cmdparser.h"
#include "common.h"
#include "cmdmain.h"
-#include "sleep.h"
-#include "cmdhfepa.h"
static int CmdHelp(const char *Cmd);
static int CmdHelp(const char *Cmd);
@@
-36,8
+40,8
@@
int CmdHFEPACollectPACENonces(const char *Cmd)
m = m > 0 ? m : 1;
n = n > 0 ? n : 1;
m = m > 0 ? m : 1;
n = n > 0 ? n : 1;
- PrintAndLog("Collecting %u %
"hhu"
-byte nonces", n, m);
- PrintAndLog("Start: %
u", time(NULL)
);
+ PrintAndLog("Collecting %u %
u
-byte nonces", n, m);
+ PrintAndLog("Start: %
" PRIu64 , msclock()/1000
);
// repeat n times
for (unsigned int i = 0; i < n; i++) {
// execute PACE
// repeat n times
for (unsigned int i = 0; i < n; i++) {
// execute PACE
@@
-64,7
+68,7
@@
int CmdHFEPACollectPACENonces(const char *Cmd)
sleep(d);
}
}
sleep(d);
}
}
- PrintAndLog("End: %
u", time(NULL)
);
+ PrintAndLog("End: %
" PRIu64, msclock()/1000
);
return 1;
}
return 1;
}
Impressum
,
Datenschutz