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
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.
Pages: 1
Hi
I installed both the iceman and the official versions from homebrew, none of these versions installs the files from the client directory anywhere where I can find them. So embeded lua scripts dont exists and the default_keys.dic is not accessible from the brew installation.
Is there something I am missing?, I followed the instructions here:
https://github.com/iceman1001/proxmark3
and
https://github.com/Proxmark/homebrew-proxmark3
Best regards magny
Not that I think it changes but homebrew for iceman fork is here: https://github.com/iceman1001/homebrew-proxmark3
Since I don't have access to mac/OSX I never could verify/test it properly but it should download the release zip.
Which contains it all. Question is where it all gets installed... you would need to know about that when trying to run a lua script...
yeah I see,
from iceman1001/homebrew-proxmark3/proxmark3.rb
# system "make", "-C", "client/hid-flasher/"
system "make", "clean"
system "make", "all"
bin.mkpath
bin.install "client/flasher" => "proxmark3-flasher"
# bin.install "client/hid-flasher/flasher" => "proxmark3-hid-flasher"
bin.install "client/proxmark3" => "proxmark3"
bin.install "client/fpga_compress" => "fpga_compress"
share.mkpath
(share/"firmware").mkpath
(share/"firmware").install "armsrc/obj/fullimage.elf" => "fullimage.elf"
(share/"firmware").install "bootrom/obj/bootrom.elf" => "bootrom.elf"
# ohai "Install success! Upgrade devices on HID firmware with proxmark3-hid-flasher, or devices on more modern firmware with proxmark3-flasher."
ohai "Install success! Only proxmark3-flasher (modern firmware) is available."
ohai "The latest bootloader and firmware binaries are ready and waiting in the current homebrew Cellar within share/firmware."
actually the only thing that is installed is 3 binaries shown above,
proxmark3-flasher
proxmark3
fpga_compress
and the firmwares to the share/firmware folder,
fullimage.elf
bootrom.elf
It could be quite easily fixed by adding everything else to the bin.install folder that needs to be relative to the proxmark3 binary.
I am bit new the proxmark source, so I dont know exactly what needs to be installed more from the client directory, noticed that the lua scripts and modules needed to be built and copied over, what more needs to be present to function properly?
https://docs.brew.sh/Formula-Cookbook.h … erminology
Its in a temporary folder that gets removed after installation is complete.
and now I understand why hardnested doesnt work haha..
the following folders needs to by copied!
client/hardnested
client/lualibs
client/scripts
traces
Additional files to be copied!
client/default_keys.dic
client/default_pwd.dic
And some extra tools like mfkey, should also be installed..
Lua/script support works by adding, (script list, lists all the scripts)
bin.install "client/lualibs" => "lualibs"
bin.install "client/scripts" => "scripts"
But I dont know how the other default_keys.dic and traces are referenced in the source. I copied it over but I dont think it reference the files relative to the proxmark3 binary. It feels a bit that you need to run proxmark3 from within the client folder to actually get everything to work correctly?
Its usually recommended to run the client from the client-folder, but a few months ago there was a fix which allows for takes account for the currentdir when running the client. However running lua-scripts still assumes the existence of lualibs and scripts folder underneath the current folder. ..
The hardnested folder I guess behavies the same. So you will need those three folders definitly.
The traces folder is there if you want to load and watch how different LF tags looks like. Use data load traces/xxxx.pm3 to load one trace which exists under the executing folder. A bit confusing talking about which folder we talk about given the automatic nature of homebrew.
The default_*.dic files is the same with.. Or "../default_keys.dic" is one level above.. "/extrafolder/default_keys.dic" is one below..