]>
git.zerfleddert.de Git - proxmark3-svn/log
izsh.f0f [Thu, 4 Feb 2010 01:27:07 +0000 (01:27 +0000)]
Client cleanup and restructuring. Stage 1...
Next Step is refactoring some of the giant functions which are
just copy/paste of some other ones with just a few line changes,
removing unnecessary 'goto' etc.
The MS Windows version is broken with this commit but will be fixed
soon. Everything can't be done all at once :P
The commands are now hierarchical, for example:
"hf 14a read" vs. "hf 14b read".
You can also request help:
"hf help", "data help", "hf 15 help" etc.
Indents are now space-based, not tab-based anymore. Hopefully
no one will be trolling about it, considering the suicide-prone work
being done here ;)
client/cmdhw.c, client/proxusb.c, client/cmdhw.h, client/proxusb.h,
client/cmdmain.c, client/cmdlfhid.c, client/cmdmain.h, client/cmdlfhid.h,
client/data.c, client/data.h, client/cmdhf.c, client/cmdlf.c,
client/cmdhf.h, client/cmdhf15.c, client/cmdhf14b.c, client/cmdlf.h,
client/cmdhf15.h, client/cmdhf14b.h, client/cmddata.c, client/cmddata.h,
client/ui.c, client/cmdparser.c, client/cmdlfti.c, client/ui.h,
client/cmdlfem4x.c, client/cmdparser.h, client/cmdlfti.h, client/cmdlfem4x.h,
client/graph.c, client/graph.h, client/cmdhf14a.c, client/cmdhf14a.h,
client/cmdhflegic.c, client/cmdhflegic.c: New files.
client/cli.c, client/flasher.c, client/snooper.c, client/proxmark3.c,
client/proxmark3.h, client/Makefile: Update accordingly.
client/flash.h, client/flash.c, client/proxgui.cpp: Cosmetic changes.
client/translate.h, client/command.c, client/gui.c,
client/usb.c, client/prox.h: Remove.
include/usb_cmd.h (CMD_ACQUIRE_RAW_ADC_SAMPLES_ISO_14443_SIM): Remove dead cmd.
common/crc16.h: New file.
common/crc16.c: Modify accordingly.
common/iso14443crc.h: New file.
common/iso14443_crc.c: Rename to
common/iso14443crc.c: and modify accordingly.
armsrc/lfops.c, armsrc/iso14443.c,
armsrc/iso14443a.c: include .h files from
the common directory instead of including the c files.
common/Makefile.common, armsrc/Makefile: Modify accordingly.
adam@algroup.co.uk [Fri, 29 Jan 2010 09:28:47 +0000 (09:28 +0000)]
fix USB send data timing issue in CMD_DOWNLOADED_SIM_SAMPLES_125K
adam@algroup.co.uk [Thu, 28 Jan 2010 11:49:05 +0000 (11:49 +0000)]
add 'losimman' command - simulate arbitrary Manchester encoded LF tags
bushing [Wed, 27 Jan 2010 09:25:37 +0000 (09:25 +0000)]
fix a stack overflow in the flasher routine (my bad)
adam@algroup.co.uk [Thu, 21 Jan 2010 15:51:24 +0000 (15:51 +0000)]
use elf targets for flashing
henryk@ploetzli.ch [Sat, 16 Jan 2010 06:10:04 +0000 (06:10 +0000)]
Automatically enter bootrom when OS image doesn't appear to be proper
daniel.boteanu [Thu, 14 Jan 2010 23:11:31 +0000 (23:11 +0000)]
Added offset feature to hexsamples command
d18c7db [Sun, 10 Jan 2010 03:57:41 +0000 (03:57 +0000)]
Decreased BigBuff mem, some elf flasher fixes (needs more work) but flashing correctly currently.
daniel.boteanu [Sat, 9 Jan 2010 15:30:47 +0000 (15:30 +0000)]
Increased buffer sizes for hi14snoop. Added blinking LED for feedback
daniel.boteanu [Sat, 9 Jan 2010 15:13:49 +0000 (15:13 +0000)]
Trim long debug string message in hitune
daniel.boteanu [Sat, 9 Jan 2010 14:59:42 +0000 (14:59 +0000)]
Added hitune command for continuously measuring HF antenna tuning
bushing [Thu, 7 Jan 2010 04:39:12 +0000 (04:39 +0000)]
first attempt at grouping commands into categories based on what I think they do
I could really use some help here, since I don't actually understand what every
command does :(
bushing [Thu, 7 Jan 2010 04:09:27 +0000 (04:09 +0000)]
fix broken formatting in command table
bushing [Thu, 7 Jan 2010 04:06:42 +0000 (04:06 +0000)]
enable indalademod and vchipdemod in offline mode
izsh.f0f [Tue, 5 Jan 2010 12:32:44 +0000 (12:32 +0000)]
client/elf.h: Add missing Elf32_Phdr struct to compile under Mac OS X. client/flash.h: Add missing header ifndef.
bushing [Tue, 5 Jan 2010 00:02:12 +0000 (00:02 +0000)]
removed support for s19 files in the flasher and replaced it
with elf parsing. can we stop specifying the "partition" yet?
bushing [Mon, 4 Jan 2010 05:11:08 +0000 (05:11 +0000)]
refactor flashing code into flash.h, so we can share it between platforms
bushing [Mon, 4 Jan 2010 04:18:40 +0000 (04:18 +0000)]
moar svn ignore crap
bushing [Mon, 4 Jan 2010 04:13:39 +0000 (04:13 +0000)]
set svn:ignore
d18c7db [Mon, 4 Jan 2010 03:08:45 +0000 (03:08 +0000)]
Fixed some compile warnings in client, minor tidy up with some dbprintf statements
d18c7db [Sat, 2 Jan 2010 20:47:53 +0000 (20:47 +0000)]
replaced obsolete config options with current
bushing [Sat, 2 Jan 2010 00:34:43 +0000 (00:34 +0000)]
switch away entirely from using DbpInteger to Dbprintf
bushing [Fri, 1 Jan 2010 23:36:17 +0000 (23:36 +0000)]
create Dbprintf convenience function
henryk@ploetzli.ch [Fri, 1 Jan 2010 14:56:25 +0000 (14:56 +0000)]
Make the bootrom correctly nack in case of flash write error (e.g. due to lock bits)
bushing [Wed, 30 Dec 2009 02:52:33 +0000 (02:52 +0000)]
ARM code cleanup (lfops)
bushing [Wed, 30 Dec 2009 02:18:25 +0000 (02:18 +0000)]
Add printf, and start transitioning away from DbpInteger
bushing [Wed, 30 Dec 2009 00:49:27 +0000 (00:49 +0000)]
Fix QT CXXFLAGS/LDFLAGS
roel@libnfc.org [Wed, 30 Dec 2009 00:18:35 +0000 (00:18 +0000)]
mifare usb update
roel@libnfc.org [Wed, 30 Dec 2009 00:12:17 +0000 (00:12 +0000)]
mifare tools update
roel@libnfc.org [Wed, 30 Dec 2009 00:11:50 +0000 (00:11 +0000)]
mifare firmware update
roel@libnfc.org [Wed, 30 Dec 2009 00:11:23 +0000 (00:11 +0000)]
mifare client update
henryk@ploetzli.ch [Mon, 28 Dec 2009 18:19:00 +0000 (18:19 +0000)]
Implement card reading with a few simple fixed obfuscation strings
henryk@ploetzli.ch [Mon, 28 Dec 2009 18:18:25 +0000 (18:18 +0000)]
Remove LEGIC RF tag emulation code since it's useless without keystream generator
roel@libnfc.org [Mon, 28 Dec 2009 17:21:50 +0000 (17:21 +0000)]
iso14443a cleanup, cascade2 level working again
roel@libnfc.org [Mon, 28 Dec 2009 00:16:05 +0000 (00:16 +0000)]
cleaning up endless copy-paste of trace functionality
roel@libnfc.org [Mon, 28 Dec 2009 00:15:38 +0000 (00:15 +0000)]
cleaning up endless copy-paste of trace functionality
bushing [Sun, 27 Dec 2009 23:27:29 +0000 (23:27 +0000)]
fix Mac build to use Qt framework
(e.g. http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.6.0.dmg)
henryk@ploetzli.ch [Tue, 22 Dec 2009 20:32:40 +0000 (20:32 +0000)]
Properly exit usb thread (e.g. on Ctrl-D)
henryk@ploetzli.ch [Tue, 22 Dec 2009 16:40:03 +0000 (16:40 +0000)]
Use the interworking version of libgcc.a
bushing [Tue, 22 Dec 2009 13:05:32 +0000 (13:05 +0000)]
remove some straggling files and fix paths in cockpit batch files
bushing [Tue, 22 Dec 2009 12:56:36 +0000 (12:56 +0000)]
change MFPR version to 2.4.2 to fix install script fail
bushing [Tue, 22 Dec 2009 12:54:24 +0000 (12:54 +0000)]
fixes to make it work properly on the Mac
bushing [Tue, 22 Dec 2009 12:52:02 +0000 (12:52 +0000)]
merge makefiles into one
bushing [Tue, 22 Dec 2009 12:50:34 +0000 (12:50 +0000)]
fix OS detection, libgcc detection
bushing [Tue, 22 Dec 2009 12:48:33 +0000 (12:48 +0000)]
fix some ARM build fail
bushing [Tue, 22 Dec 2009 12:47:10 +0000 (12:47 +0000)]
fix target name for Windows compile
bushing [Tue, 22 Dec 2009 12:46:04 +0000 (12:46 +0000)]
lean up event model so that this will work under OS X (and hopefully Linux)
still need to refactor some stuff -- lots of code duplication here that
we can get rid of
bushing [Tue, 22 Dec 2009 12:44:38 +0000 (12:44 +0000)]
rename ReceiveCommandP -> ReceiveCommandPoll for consistency
bushing [Tue, 22 Dec 2009 12:42:54 +0000 (12:42 +0000)]
There's no painless way to do this, but it needs to be done --
the only reason any of the Windows code was in CPP files was
because the MS compiler doesn't support C99. Switch to using
MinGW, and that problem goes away, so we can rename the files back.
bushing [Tue, 22 Dec 2009 12:35:36 +0000 (12:35 +0000)]
remove most of the references to translate.h
bushing [Tue, 22 Dec 2009 12:34:24 +0000 (12:34 +0000)]
change usb_cmd struct to be more sane
wean ourselves off translate.h
bushing [Tue, 22 Dec 2009 12:11:15 +0000 (12:11 +0000)]
merge linux and windows clients into one directory... will consolidate makefiles shortly
d18c7db [Tue, 15 Dec 2009 06:28:40 +0000 (06:28 +0000)]
Amontec JTAGKey config
henryk@ploetzli.ch [Sun, 13 Dec 2009 22:55:49 +0000 (22:55 +0000)]
Fix MPFR URL
henryk@ploetzli.ch [Sun, 13 Dec 2009 11:35:46 +0000 (11:35 +0000)]
Change gcc source URL
henryk@ploetzli.ch [Wed, 9 Dec 2009 02:31:01 +0000 (02:31 +0000)]
Add capability to correlate against subcarriers of 212kHz (argument FPGA_HF_READER_RX_XCORR_QUARTER_FREQ | FPGA_HF_READER_RX_XCORR_848_KHZ) and 106kHz (argument FPGA_HF_READER_RX_XCORR_QUARTER_FREQ)
henryk@ploetzli.ch [Thu, 3 Dec 2009 16:21:44 +0000 (16:21 +0000)]
Limit hexsamples to just the amount of requested samples
henryk@ploetzli.ch [Wed, 25 Nov 2009 20:41:41 +0000 (20:41 +0000)]
Add generic CRC calculation code
edouard@lafargue.name [Mon, 23 Nov 2009 09:34:57 +0000 (09:34 +0000)]
Added the new SRIX4K reading routine, thanks to jonor. Regression tested against SRI512 tags,
but I do not have SRIX4K tags to test this with.
d18c7db [Thu, 12 Nov 2009 08:04:40 +0000 (08:04 +0000)]
Fix define typo
d18c7db [Thu, 12 Nov 2009 07:23:12 +0000 (07:23 +0000)]
Also defines to carve out LF related code
henryk@ploetzli.ch [Tue, 10 Nov 2009 05:10:01 +0000 (05:10 +0000)]
#ifdef out the calls to the ISO15693/14443/14443a functions so that the -D on the make command line actually can be used to reduce code size
henryk@ploetzli.ch [Fri, 6 Nov 2009 15:37:53 +0000 (15:37 +0000)]
Add basic communication shell for Legic RF in reader mode. Needs the new receive function of hi_read_tx.
henryk@ploetzli.ch [Fri, 6 Nov 2009 15:36:57 +0000 (15:36 +0000)]
Jerry-rig a simply hysteresis based receiver into hi_read_tx. Output is via SSC_DIN, which wasn't used in that mode before.
henryk@ploetzli.ch [Thu, 5 Nov 2009 11:13:46 +0000 (11:13 +0000)]
Refactor things around to make it easier to add a reader mode with code reuse
henryk@ploetzli.ch [Sun, 25 Oct 2009 09:58:23 +0000 (09:58 +0000)]
Make canned responsed const
henryk@ploetzli.ch [Fri, 23 Oct 2009 21:40:17 +0000 (21:40 +0000)]
Simplify data types, now that I believe that 'frames' will always be rather short
d18c7db [Thu, 22 Oct 2009 20:21:12 +0000 (20:21 +0000)]
replaced strncasecmp with strcmp to get rid of compile errors
henryk@ploetzli.ch [Fri, 16 Oct 2009 22:07:00 +0000 (22:07 +0000)]
Fix and generify legic response code
henryk@ploetzli.ch [Mon, 12 Oct 2009 11:47:39 +0000 (11:47 +0000)]
Add basic LEGIC RF communication in tag simulation mode
henryk@ploetzli.ch [Mon, 12 Oct 2009 11:46:50 +0000 (11:46 +0000)]
Add defines for TIMER_CLOCK?
henryk@ploetzli.ch [Mon, 12 Oct 2009 07:46:03 +0000 (07:46 +0000)]
Add HF simulator modulation mode for 212kHz subcarrier
henryk@ploetzli.ch [Sun, 11 Oct 2009 18:40:44 +0000 (18:40 +0000)]
Fix commit 232, reenable GUI
henryk@ploetzli.ch [Fri, 9 Oct 2009 15:57:07 +0000 (15:57 +0000)]
Add command to manually set ADC mux source
d18c7db [Tue, 29 Sep 2009 12:13:41 +0000 (12:13 +0000)]
Pushed standard AT91 defines into main code
henryk@ploetzli.ch [Mon, 28 Sep 2009 11:29:17 +0000 (11:29 +0000)]
Rename at91sam7s512.h for case sensitive filesystems
d18c7db [Sun, 27 Sep 2009 20:46:47 +0000 (20:46 +0000)]
Change over to standard AT91 header file
d18c7db [Tue, 22 Sep 2009 09:57:03 +0000 (09:57 +0000)]
Small changes to some armsrc makefile to allow conditional compilation of various protocols via defines, change winsrc makefile to allow override of compiler location via external defines, finally change fpgaloader to actually check that the image upload succeeded instead of just blindly sending it and hoping for the best.
henryk@ploetzli.ch [Sat, 19 Sep 2009 21:55:22 +0000 (21:55 +0000)]
Create a stamp file for download completion so that it won't have to be redone later
Unpack newlib before compiling gcc, fixes the bug where header files were not installed
adam@algroup.co.uk [Sat, 12 Sep 2009 08:11:24 +0000 (08:11 +0000)]
tool to find UIDs in bitstream
henryk@ploetzli.ch [Fri, 11 Sep 2009 02:25:48 +0000 (02:25 +0000)]
Change variable assignments to make it easier to compile static and/or x86 binaries
adam@algroup.co.uk [Thu, 10 Sep 2009 15:12:20 +0000 (15:12 +0000)]
fix mandemod initialisation and add Transit tag trace
henryk@ploetzli.ch [Wed, 9 Sep 2009 07:40:14 +0000 (07:40 +0000)]
Change flashos.bat for the new flash procedure
henryk@ploetzli.ch [Tue, 8 Sep 2009 15:40:22 +0000 (15:40 +0000)]
Fix data segement. You may now use stuff like int foo = 1; in global context (as opposed to both int foo = 0; which is bss and const int foo = 1; which is rodata) without having the sky come
crashing down
d18c7db [Tue, 8 Sep 2009 10:08:43 +0000 (10:08 +0000)]
Fixed up last gcc 4.1 and 4.4 warnings, added OpenOCD wiggler config
henryk@ploetzli.ch [Tue, 8 Sep 2009 02:36:50 +0000 (02:36 +0000)]
Hopefully correct code for C's strict aliasing rules
henryk@ploetzli.ch [Tue, 8 Sep 2009 00:37:13 +0000 (00:37 +0000)]
Change section_start pointer to char** to prevent aliasing warnings on old toolchain
d18c7db [Mon, 7 Sep 2009 09:53:45 +0000 (09:53 +0000)]
added eh_frame needed for gcc 4.4.1 or higher
d18c7db [Mon, 7 Sep 2009 09:03:45 +0000 (09:03 +0000)]
Updated the windows Makefile to be compatible with both nmake and make
henryk@ploetzli.ch [Sun, 6 Sep 2009 19:19:38 +0000 (19:19 +0000)]
Re-enable -Wall
henryk@ploetzli.ch [Sun, 6 Sep 2009 19:08:56 +0000 (19:08 +0000)]
Fix FPGA load code for the generic case where a new style bitstream is not DWORD aligned
Completely switch to byte-wise load, shouldn't make much of a difference since this is not timing-critical
henryk@ploetzli.ch [Sat, 5 Sep 2009 22:45:53 +0000 (22:45 +0000)]
Add make targets for flashing (Windows version untested)
henryk@ploetzli.ch [Sat, 5 Sep 2009 22:17:18 +0000 (22:17 +0000)]
Remove unused code from hitag2.c
Mark intermittently used code in iso15693.c as attribute unused
Change CFLAGS to -Werror to enforce warning free code
adam@algroup.co.uk [Sat, 5 Sep 2009 13:11:31 +0000 (13:11 +0000)]
oops, missed a bit!
adam@algroup.co.uk [Sat, 5 Sep 2009 13:10:17 +0000 (13:10 +0000)]
fix wrong terminology - LRC/CRC and calulate result instead of matching (thanks Henryk!)
adam@algroup.co.uk [Sat, 5 Sep 2009 08:46:59 +0000 (08:46 +0000)]
clarify output
adam@algroup.co.uk [Sat, 5 Sep 2009 07:14:35 +0000 (07:14 +0000)]
tool to find correct byte for 8-bit XOR CRC
adam@algroup.co.uk [Wed, 2 Sep 2009 09:17:34 +0000 (09:17 +0000)]
enforce askdemod argument 0 or 1
d18c7db [Wed, 2 Sep 2009 08:30:22 +0000 (08:30 +0000)]
Updated windows client to handle new flashing method
adam@algroup.co.uk [Tue, 1 Sep 2009 23:17:57 +0000 (23:17 +0000)]
amp command - amplify sample peaks