Last active
August 29, 2015 14:02
-
-
Save y3dips/090abf54ec0d36a4adea to your computer and use it in GitHub Desktop.
Installing Proxmark3 Client on OSX 10.9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install Readline #brew version has some issue. | |
$wget -c http://git.savannah.gnu.org/cgit/readline.git/snapshot/readline-master.tar.gz | |
$tar -zxf readline-master.tar.gz | |
$cd readline-master | |
$./configure --prefix=/usr/local | |
$make | |
$sudo make install | |
2. Install QT | |
$brew install qt | |
#Remember to modify proxmark3 client Makefile later, because brew install on different path # | |
3. Install libusb and libusb-compat | |
$brew install libusb libusb-compat --universal | |
4. Install arm-cross-compiler #Remember to set PATH in your env | |
$brew install mpfr gmp libmpc libelf texinfo | |
$git clone https://github.com/jsnyder/arm-eabi-toolchain.git | |
$cd arm-eabi-toolchain | |
$make install-cross | |
5. Install Proxmark3 Client | |
$svn checkout http://proxmark3.googlecode.com/svn/trunk proxmark3 | |
$cd proxmark3 | |
$vim client/Makefile | |
#Modify file "client/Makefile" | |
Original: | |
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread ../liblua/liblua.a | |
Change to: | |
LDLIBS = -L/usr/local/lib -lreadline -lpthread ../liblua/liblua.a | |
Original: | |
CXXFLAGS = -I/Library/Frameworks/QtGui.framework/Versions/Current/Headers -I/Library/Frameworks/QtCore.fram ework/Versions/Current/Headers | |
Change to: | |
CXXFLAGS = -I/usr/local/Frameworks/QtGui.framework/Versions/Current/Headers -I/usr/local/Frameworks/QtCore.f ramework/Versions/Current/Headers | |
Marked to remove this line | |
QTLDLIBS = -framework QtGui -framework QtCore | |
$make | |
6. Install Proxmark3 Client | |
$cd client | |
$sudo make install_kext | |
$sudo kextcache -system-caches | |
7. Run proxmark3 | |
raiser:client ammar$ ./proxmark3 /dev/tty.usbmodem1421 | |
proxmark3> hw version | |
#db# Prox/RFID mark3 RFID instrument | |
#db# bootrom: svn 0 2014-04-01 12:12:24 | |
#db# os: svn 0 2014-04-01 12:12:24 | |
#db# FPGA image built on 2014/03/24 at 21:54:44 | |
uC: AT91SAM7S256 Rev B | |
Embedded Processor: ARM7TDMI | |
Nonvolatile Program Memory Size: 256K bytes | |
Second Nonvolatile Program Memory Size: None | |
Internal SRAM Size: 64K bytes | |
Architecture Identifier: AT91SAM7Sxx Series | |
Nonvolatile Program Memory Type: Embedded Flash Memory | |
proxmark3> quit | |
8. Reference. | |
This guide base on http://www.proxmark.org/forum/viewtopic.php?id=1709. | |
The Makefile modification done for QT installation using brew and others. | |
Hope its usefull. Enjoy \m/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment