Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-03-16 12:05:10

beben
Contributor
Registered: 2015-03-05
Posts: 32

lf em4x em410xwatch ?

Hi!

Apparently there is a lot going on with the lf commands so I'm not sure if this is an actual issue or if I'm not aware of it being depreciated, but since I pulled this morning, "lf em4x em410xwatch" throws a Floating point exception in my face an exits the client.
I don't want to spam github with known issues, so I figured I'd post it here. tongue

Offline

#2 2015-03-16 12:42:23

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

hmmm.  i haven't tested or adjusted that command.   lf search work with the same tag?.

it looks like it doesn't validate the clock after it tries to detect it, so it could end up dividing by 0 if it can't detect the clock.

Offline

#3 2015-03-16 14:29:00

beben
Contributor
Registered: 2015-03-05
Posts: 32

Re: lf em4x em410xwatch ?

Yup,

"lf search" + "lf em4x em410xread" both work with the three tags I tested. "em410xWATCH" fails every time.

Thank you!

Last edited by beben (2015-03-16 16:29:29)

Offline

#4 2015-03-16 14:54:01

iceman
Administrator
Registered: 2013-04-25
Posts: 9,537
Website

Re: lf em4x em410xwatch ?

I suggest you don't use the "lf em4x em410xsim",  but try the new sim commands under lf instead.

Offline

#5 2015-03-16 16:11:39

beben
Contributor
Registered: 2015-03-05
Posts: 32

Re: lf em4x em410xwatch ?

Yeah that's what I thought...

Thanks for your help!

Offline

#6 2015-03-16 16:14:16

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

I'm curious though,  i was able to use lf em4x em410xsim without issue, though i never tried the read/watch watch/sim commands.

the lf em4x em410xsim doesn't work when you specify the emid to sim?

Offline

#7 2015-03-16 16:19:38

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

I will review the other commands when i get a chance.

Offline

#8 2015-03-16 16:29:13

beben
Contributor
Registered: 2015-03-05
Posts: 32

Re: lf em4x em410xwatch ?

Shite, I got sidetracked!

I was talking about em410xwatch! There does not seem to be a newer alternative to this!

Offline

#9 2015-03-16 16:35:39

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

I never looked at the watch commands.  When I get a chance I'll take a look

Offline

#10 2015-03-16 17:16:03

iceman
Administrator
Registered: 2013-04-25
Posts: 9,537
Website

Re: lf em4x em410xwatch ?

The watch command uses  lf sim & lf em4x 410xread internally.

Offline

#11 2015-03-16 19:26:26

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

I would suggest 2 changes to CmdEM410xWatch function code

		CmdLFRead(read_h ? "h" : "");
...
	} while (
		!CmdEM410xRead("") 
	);

to

		CmdLFRead("");
...
	} while (!CmdAskEM410xDemod(""));

i haven't tested as i am away from my pm3 atm. but that probably should fix it.

Last edited by marshmellow (2015-03-16 20:51:53)

Offline

#12 2015-03-16 19:29:20

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

the watch and spoof code (CmdEM410xWatchnSpoof) will require another code change:

    PrintAndLog("# Replaying : %s",global_em410xId);
    CmdEM410xSim(global_em410xId);

to

    PrintAndLog("# Replaying captured ID");
    CmdLFaskSim();

to display the captured ID would require a bit more rewrite.

Last edited by marshmellow (2015-03-16 19:34:17)

Offline

#13 2015-03-24 12:21:59

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: lf em4x em410xwatch ?

The main trunk now has fixes for this

Offline

Board footer

Powered by FluxBB