Fix Nested attack

This commit is contained in:
DSR! 2019-10-07 00:53:37 -03:00 committed by GitHub
parent 3f1a04092f
commit d49548a58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,6 +597,10 @@ int main(int argc, char *const argv[])
goto check_keys;
} else {
//Nested attack
// DSR! - fix https://github.com/vk496/mfoc/issues/4
mf_configure(r.pdi);
mf_anticollision(t, r);
// Max probes for auth for each sector
for (k = 0; k < probes; ++k) {
// Try to authenticate to exploit sector and determine distances (filling denonce.distances)