]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - README.md
CHG: Added calling clear bigbuff to zero out it also, instead of just "free" it.
[proxmark3-svn] / README.md
index 077ff0f6321c6273eb7dfee3060bbe213bd407c7..19f21b7aca3d70b07d45caae406555991904aa5b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,14 +1,16 @@
 The iceman fork
 ---------------
+##::THIS FORK IS HIGHLY EXPERIMENTAL::
 
-NOTICE: 
+##NOTICE:      
 
-The official Proxmark repository is found here: https://github.com/Proxmark/proxmark3
+There is so much in this fork,  with all fixes and additions its basically the most enhanced fork to this day for the Proxmark3 device.
 
-NEWS: 
 
-::THIS FORK IS HIGHLY EXPERIMENTAL::
+##OFFICAL 
+The official Proxmark repository is found here: https://github.com/Proxmark/proxmark3
 
+##NEWS: 
 
 ## Build Status Travis CI
 [![Build Status](https://travis-ci.org/iceman1001/proxmark3.svg?branch=master)](https://travis-ci.org/iceman1001/proxmark3)
@@ -17,7 +19,25 @@ NEWS:
 [![Coverity Scan Build Status](https://scan.coverity.com/projects/5117/badge.svg)](https://scan.coverity.com/projects/proxmark3-iceman-fork)
 
 
-Whats in this fork?  I have scraped the web for different enhancements to the PM3 source code and not all of them ever found their way to the master branch. 
+## Coverity Scan Config && Run
+
+Download the Coverity Scan Self-buld and install it.
+You will need to configure  ARM-NON-EABI- Compiler for it to use:
+
+:: Configure
+cov-configure --comptype gcc --compiler  /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc
+
+::run it (I'm running on Ubuntu)
+cov-build --dir cov-int make all
+
+:: make a tarball
+tar czvf proxmark3.tgz cov-int
+
+:: upload it to coverity.com
+
+## Whats changed?
+
+Whats so special with this fork?  I have scraped the web for different enhancements to the PM3 source code and not all of them ever found their way to the master branch. 
 Among the stuff is
 
        * Jonor's hf 14a raw timing patch
@@ -33,83 +53,131 @@ Among the stuff is
        * other obscure patches like for the sammy-mode,  (offline you know), tagidentifications, defaultkeys. 
        * Minor textual changes here and there.
        * Simulation of Ultralight/Ntag.
-       * Marshmellow's and my "RevEng" addon for the client.  Ref: http://reveng.sourceforge.net/
+       * Marshmellow's and my "RevEng" addon for the client.  Ref: http://reveng.sourceforge.net/    Now using reveng1.31
        * Someone's alternative bruteforce Mifare changes.. (you need the two other exe to make it work)
 
        * A Bruteforce for T55XX passwords against tag.
        * A Bruteforce for AWID 26, starting w a facilitycode then trying all 0xFFFF cardnumbers via simulation. To be used against a AWID Reader.
-
+       * A Bruteforce for HID,  starting w a facilitycode then trying all 0xFFFF cardnumbers via simulation. To be used against a HID Reader.
+       * Blaposts Crapto1 v3.3
+                                         
+    * icsom's  legic script and legic enhancements
+
+---    
+Straight from the CHANGELOG
+---
+  - Added `lf guard clone/sim` (iceman)
+  - Added `lf pyramd clone/sim` (iceman) 
+  - trying to fix "hf 14b" command to be able to read CALYPSO card.     (iceman)
+  - `hf legic load`, it now loads faster and a casting bug is gone. (iceman)
+  - Added `hf legic calccrc8` added a method to calculate the legic crc-8 value (iceman)
+  - `hf legic decode` fixed the output overflow bugs, better printing (iceman)
+  - Coverity Scan fixes a lot of resource leaks, etc (iceman)
+  - Added `lf presco *` commands started (iceman) 
+  - Added `lf hid wiegand` added a method to calculate WIEGAND in different formats, (iceman)
+  - `hf mf chkkeys` better printing, same table output as nested, faster execution and added Adam Lauries "try to read Key B if Key A is found" (iceman)
+  - `hf mf nested` better printing and added Adam Lauries "try to read Key B if Key A is found" (iceman)
+  - `hf mf mifare` fixing the zero parity path, which doesn't got called. (iceman) 
+  - Updated the @blapost's Crapto1 implementation to v3.3 (blapost) 
+  - `hf mf c*` updated the calling structure and refactored of the chinese magic commands (iceman, marshmellow)
+  - Started to add Peter Fillmore's  EMV fork into Iceman fork. ref: https://github.com/peterfillmore/proxmark3  (peter fillmore,  iceman)
+  - Added Travis-CI automatic build integration with GitHub fork. (iceman)
+  - Updated the Reveng 1.30 sourcecode to 1.31 from Reveng projecthomepage (iceman)
+  
+  - Added possibility to write direct to a Legic Prime Tag (MIM256/1024) without using values from the 'BigBuffer' -> 'hf legic writeRaw <addr> <value>' (icsom)
+  - Added possibility to decrease DCF values at address 0x05 & 0x06 on a Legic Prime Tag 
+               DCF-value will be pulled from the BigBuffer (address 0x05 & 0x06) so you have to 
+               load the data into the BigBuffer before with 'hf legic load <path/to/legic.dump>' & then
+               write the DCF-Values (both at once) with 'hf legic write 0x05 0x02'  (icsom)
+  - Added script `legic.lua` for display and edit Data of Legic-Prime Tags (icsom)
+  - Added the experimental HITAG_S support (spenneb)
+  - Added topaz detection to `hf search` (iceman)
+  - Fixed the silent mode for 14b to be used inside 'hf search' (iceman)
+       
+---    
        
 Give me a hint, and I'll see if I can't merge in the stuff you have. 
 
 I don't actually know how to make small pull-request to github :( and that is the number one reason for me not pushing a lot of things back to the PM3 master.
        
 PM3 GUI:
-
+--------
 I do tend to rename and move stuff around, the official PM3-GUI from Gaucho will not work so well. *sorry*     
 
 
          
 DEVELOPMENT:
+------------
+This fork now compiles just fine on 
+       windows/mingw environment with Qt5.3.1 & GCC 4.8
+       Ubuntuu 1404, 1510
+       Mac OS X
+
+SETUP AND BUILD FOR UBUNTU
+--------------------------
 
-This fork is adjusted to compile on windows/mingw environment with Qt5.3.1 & GCC 4.8
-For people with linux you will need to patch some source code and some small change to one makefile.  If you are lazy, you google the forum and find asper's or holimans makefile or you find your solution below.
+GC made updates to allow this to build easily on Ubuntu 14.04.2 LTS or 15.10
+See https://github.com/Proxmark/proxmark3/wiki/Ubuntu%20Linux
 
-GC made updates to allow this to build easily on Ubuntu 14.04.2 LTS.
-       - See https://github.com/Proxmark/proxmark3/wiki/Ubuntu%20Linux
-       - Generally speaking, if you're running a "later" Proxmark, installation is very easy.
-       - Run "sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config wget"a
-       - Follow these instructions
-Get devkitARM release 41 from SourceForge (choose either the 64/32 ¿bit depending on your architecture, it is assumed you know how to check and recognize your architecture):
+Run 
+       -> sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config wget
+
+Follow these instructions
+Get devkitARM release 41 from SourceForge (choose either the 64/32 bit depending on your architecture, it is assumed you know how to check and recognize your architecture):
 
 (64-bit) http://sourceforge.net/projects/devkitpro/files/devkitARM/previous/devkitARM_r41-x86_64-linux.tar.bz2/download
 (32-bit) http://sourceforge.net/projects/devkitpro/files/devkitARM/previous/devkitARM_r41-i686-linux.tar.bz2/download
+
 Extract the contents of the .tar.bz2:
- tar jxvf devkitARM_r41-<arch>-linux.tar.bz2
+       ->  tar jxvf devkitARM_r41-<arch>-linux.tar.bz2
+
 Create a directory for the arm dev kit:
- sudo mkdir -p /opt/devkitpro/
+       ->  sudo mkdir -p /opt/devkitpro/
+
 Move the ARM developer kit to the newly created directory:
- sudo mv devkitARM /opt/devkitpro/
+       -> sudo mv devkitARM /opt/devkitpro/
+
 Add the appropriate environment variable:
- export PATH=${PATH}:/opt/devkitpro/devkitARM/bin/
+       -> export PATH=${PATH}:/opt/devkitpro/devkitARM/bin/
+
 Add the environment variable to your profile:
- echo 'PATH=${PATH}:/opt/devkitpro/devkitARM/bin/ ' >> ~/.bashrc
-       - Use the magic build command "make UBUNTU_1404_QT4=1"
+       -> echo 'PATH=${PATH}:/opt/devkitpro/devkitARM/bin/ ' >> ~/.bashrc
 
-Common errors linux/macOS finds
+Clone iceman fork
+       -> git clone https://github.com/iceman1001/proxmark3.git
+
+Get the latest commits 
+       -> git pull
+
+CLEAN COMPILE  
+       -> make clean && make all
        
-Error:  
-       * \client\makefile  the parameter -lgdi32 
-Solution:
-       * Remove parameter.
+Flash the BOOTROM
+       -> client/flasher -b /dev/ttyACM0 bootrom/obj/bootrom.elf
+
+Flash the FULLIMAGE    
+       -> client/flasher /dev/ttyACM0 armsrc/obj/fullimage.elf
        
-Error:  
-       * Using older Qt4.6 gives compilation errors.  
-Solution
-       * Upgrade to Qt5.3.1 
-       OR 
-       * Change these two line in  \client\makefile
-               CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui -I$(QTDIR)/include/QtWidgets  -I/mingw/include
-               QTLDLIBS = -L$(QTDIR)/lib  -lQt5Core -lQt5Gui -lQt5Widgets 
-               
-               TO
-               
-               CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
-               QTLDLIBS = -L$(QTDIR)/lib -lQtCore4 -lQtGui4
+Change into the client folder.         
+       -> cd client
        
-
-An old Qt4 version makefile is found here: http://www.icesql.se/proxmark3/code/linuxmakefile.txt  but this one doesn't have all new files in it. So I don't recommend it.
-                                                          
+Run the client 
+       -> ./proxmark3 /dev/ttyACM0
+                                                  
 
 January 2015, Sweden
 iceman at host iuse.se
 
+BUYING A PROXMARK 3
+-------------------
+
+The Proxmark 3 device is available for purchase (assembled and tested) from the following locations:
+
+   * http://www.elechouse.com  (new and revised hardware package 2015)  
 
-The Proxmark 3 is available for purchase (assembled and tested) from the
-following locations:
+   I recommend you to buy this version. 
 
-   * http://www.elechouse.com  (new and revised hardware package 2015)
-   
+--------------------------------------------------------------------------
 
 Most of the ultra-low-volume contract assemblers could put
 something like this together with a reasonable yield. A run of around
Impressum, Datenschutz