make make all-recursive make Entering directory root miLazyCracker mfo

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
+ make
make all-recursive
make[1]: Entering directory '/root/miLazyCracker/mfoc'
Making all in src
make[2]: Entering directory '/root/miLazyCracker/mfoc/src'
CC crapto1.o
CC crypto1.o
CC mfoc.o
mfoc.c:75:10: error: redefinition of ‘knownKey’
75 | uint64_t knownKey = 0;
| ^~~~~~~~
mfoc.c:68:10: note: previous definition of ‘knownKey’ was here
68 | uint64_t knownKey = 0;
| ^~~~~~~~
mfoc.c:76:6: error: redefinition of ‘knownKeyLetter’
76 | char knownKeyLetter = 'A';
| ^~~~~~~~~~~~~~
mfoc.c:69:6: note: previous definition of ‘knownKeyLetter’ was here
69 | char knownKeyLetter = 'A';
| ^~~~~~~~~~~~~~
mfoc.c:77:10: error: redefinition of ‘knownSector’
77 | uint32_t knownSector = 0;
| ^~~~~~~~~~~
mfoc.c:70:10: note: previous definition of ‘knownSector’ was here
70 | uint32_t knownSector = 0;
| ^~~~~~~~~~~
mfoc.c:78:10: error: redefinition of ‘unknownSector’
78 | uint32_t unknownSector = 0;
| ^~~~~~~~~~~~~
mfoc.c:71:10: note: previous definition of ‘unknownSector’ was here
71 | uint32_t unknownSector = 0;
| ^~~~~~~~~~~~~
mfoc.c:79:6: error: redefinition of ‘unknownKeyLetter’
79 | char unknownKeyLetter = 'A';
| ^~~~~~~~~~~~~~~~
mfoc.c:72:6: note: previous definition of ‘unknownKeyLetter’ was here
72 | char unknownKeyLetter = 'A';
| ^~~~~~~~~~~~~~~~
mfoc.c:80:10: error: redefinition of ‘unexpected_random’
80 | uint32_t unexpected_random = 0;
| ^~~~~~~~~~~~~~~~~
mfoc.c:73:10: note: previous definition of ‘unexpected_random’ was here
73 | uint32_t unexpected_random = 0;
| ^~~~~~~~~~~~~~~~~
mfoc.c: In function ‘main’:
mfoc.c:260:7: error: duplicate case value
260 | case 'D':
| ^~~~
mfoc.c:252:7: note: previously used here
252 | case 'D':
| ^~~~
make[2]: *** [Makefile:397: mfoc.o] Error 1
make[2]: Leaving directory '/root/miLazyCracker/mfoc/src'
make[1]: *** [Makefile:358: all-recursive] Error 1
make[1]: Leaving directory '/root/miLazyCracker/mfoc'
make: *** [Makefile:299: all] Error 2
+ sudo make install
Making install in src
make[1]: Entering directory '/root/miLazyCracker/mfoc/src'
CC mfoc.o
mfoc.c:75:10: error: redefinition of ‘knownKey’
75 | uint64_t knownKey = 0;
| ^~~~~~~~
mfoc.c:68:10: note: previous definition of ‘knownKey’ was here
68 | uint64_t knownKey = 0;
| ^~~~~~~~
mfoc.c:76:6: error: redefinition of ‘knownKeyLetter’
76 | char knownKeyLetter = 'A';
| ^~~~~~~~~~~~~~
mfoc.c:69:6: note: previous definition of ‘knownKeyLetter’ was here
69 | char knownKeyLetter = 'A';
| ^~~~~~~~~~~~~~
mfoc.c:77:10: error: redefinition of ‘knownSector’
77 | uint32_t knownSector = 0;
| ^~~~~~~~~~~
mfoc.c:70:10: note: previous definition of ‘knownSector’ was here
70 | uint32_t knownSector = 0;
| ^~~~~~~~~~~
mfoc.c:78:10: error: redefinition of ‘unknownSector’
78 | uint32_t unknownSector = 0;
| ^~~~~~~~~~~~~
mfoc.c:71:10: note: previous definition of ‘unknownSector’ was here
71 | uint32_t unknownSector = 0;
| ^~~~~~~~~~~~~
mfoc.c:79:6: error: redefinition of ‘unknownKeyLetter’
79 | char unknownKeyLetter = 'A';
| ^~~~~~~~~~~~~~~~
mfoc.c:72:6: note: previous definition of ‘unknownKeyLetter’ was here
72 | char unknownKeyLetter = 'A';
| ^~~~~~~~~~~~~~~~
mfoc.c:80:10: error: redefinition of ‘unexpected_random’
80 | uint32_t unexpected_random = 0;
| ^~~~~~~~~~~~~~~~~
mfoc.c:73:10: note: previous definition of ‘unexpected_random’ was here
73 | uint32_t unexpected_random = 0;
| ^~~~~~~~~~~~~~~~~
mfoc.c: In function ‘main’:
mfoc.c:260:7: error: duplicate case value
260 | case 'D':
| ^~~~
mfoc.c:252:7: note: previously used here
252 | case 'D':
| ^~~~
make[1]: *** [Makefile:397: mfoc.o] Error 1
make[1]: Leaving directory '/root/miLazyCracker/mfoc/src'
make: *** [Makefile:358: install-recursive] Error 1
+ '[' -d crypto1_bs ']'
+ cd crypto1_bs
+ git reset --hard
+ git clean -dfx
+ patch -p1
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/libnfc_crypto1_crack.c b/libnfc_crypto1_crack.c
|index 8a53f64..21feed2 100644
|--- a/libnfc_crypto1_crack.c
|+++ b/libnfc_crypto1_crack.c
--------------------------
File to patch: