Proxmark3 developers 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.

#1 2019-03-18 14:16:38

loupetre
Contributor
Registered: 2019-01-21
Posts: 8

How can I get the return code in lua ?

Hi everybody,

After sending commands to a tag (e.g. hf mf wrbl ...), a result code is sent to the output : isOk:00 or isOk:01.
I would like to get the value of this return code in order to use it in my scripts. How can I do that ?

Thanks

Offline

#2 2019-03-18 19:51:18

iceman
Administrator
Registered: 2013-04-25
Posts: 6,175
Website

Re: How can I get the return code in lua ?

you need to not use the console command but rather implement that direct calls.   Lots of scripts,  which lets you get ideas how to solve your problem


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#3 2020-02-12 22:13:48

Winds
Contributor
Registered: 2020-01-28
Posts: 16

Re: How can I get the return code in lua ?

iceman wrote:

you need to not use the console command but rather implement that direct calls.   Lots of scripts,  which lets you get ideas how to solve your problem

Iceman, could you please show an example and we see how it to get?
Scripts has using a core.consele method to send and I never seen way for the returning a responce from the console.

Many Thanks

Offline

Board footer

Powered by FluxBB