Commit graph

6777 commits

Author SHA1 Message Date
adam@algroup.co.uk c37d2e7078 make parser slightly more user friendly (default to 'help') 2010-02-04 22:51:02 +00:00
henryk@ploetzli.ch 92e592ce71 Limit DbpString size to the buffer size, patch by Andreas from proxmark forums 2010-02-04 02:49:21 +00:00
izsh.f0f 7fe9b0b742 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.
2010-02-04 01:27:07 +00:00
adam@algroup.co.uk 6982ac2612 fix USB send data timing issue in CMD_DOWNLOADED_SIM_SAMPLES_125K 2010-01-29 09:28:47 +00:00
adam@algroup.co.uk 13a79da4e9 add 'losimman' command - simulate arbitrary Manchester encoded LF tags 2010-01-28 11:49:05 +00:00
bushing cef938d883 fix a stack overflow in the flasher routine (my bad) 2010-01-27 09:25:37 +00:00
adam@algroup.co.uk 70b1a68543 use elf targets for flashing 2010-01-21 15:51:24 +00:00
henryk@ploetzli.ch 4fdefea801 Automatically enter bootrom when OS image doesn't appear to be proper 2010-01-16 06:10:04 +00:00
daniel.boteanu 044a375b95 Added offset feature to hexsamples command 2010-01-14 23:11:31 +00:00
d18c7db 815f3f2559 Decreased BigBuff mem, some elf flasher fixes (needs more work) but flashing correctly currently. 2010-01-10 03:57:41 +00:00
daniel.boteanu 8caef54055 Increased buffer sizes for hi14snoop. Added blinking LED for feedback 2010-01-09 15:30:47 +00:00
daniel.boteanu d724614963 Trim long debug string message in hitune 2010-01-09 15:13:49 +00:00
daniel.boteanu 1eb7596aad Added hitune command for continuously measuring HF antenna tuning 2010-01-09 14:59:42 +00:00
bushing 8b576d2d31 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 :(
2010-01-07 04:39:12 +00:00
bushing 107ec6e4b5 fix broken formatting in command table 2010-01-07 04:09:27 +00:00
bushing 3210b50ec6 enable indalademod and vchipdemod in offline mode 2010-01-07 04:06:42 +00:00
izsh.f0f b961ef035a client/elf.h: Add missing Elf32_Phdr struct to compile under Mac OS X. client/flash.h: Add missing header ifndef. 2010-01-05 12:32:44 +00:00
bushing 2cab856f9f removed support for s19 files in the flasher and replaced it
with elf parsing.  can we stop specifying the "partition" yet?
2010-01-05 00:02:12 +00:00
bushing 6e4d4ee609 refactor flashing code into flash.h, so we can share it between platforms 2010-01-04 05:11:08 +00:00
bushing 204c85958c moar svn ignore crap 2010-01-04 04:18:40 +00:00
bushing 8d436e81af set svn:ignore 2010-01-04 04:13:39 +00:00
d18c7db 1e1b303093 Fixed some compile warnings in client, minor tidy up with some dbprintf statements 2010-01-04 03:08:45 +00:00
d18c7db 709a8d3ff0 replaced obsolete config options with current 2010-01-02 20:47:53 +00:00
bushing 850427c8a9 switch away entirely from using DbpInteger to Dbprintf 2010-01-02 00:34:43 +00:00
bushing a9bc033bdd create Dbprintf convenience function 2010-01-01 23:36:17 +00:00
henryk@ploetzli.ch 4ab6281664 Make the bootrom correctly nack in case of flash write error (e.g. due to lock bits) 2010-01-01 14:56:25 +00:00
bushing 0d974852ce ARM code cleanup (lfops) 2009-12-30 02:52:33 +00:00
bushing 6f5cb60c46 Add printf, and start transitioning away from DbpInteger 2009-12-30 02:18:25 +00:00
bushing f39c4119e0 Fix QT CXXFLAGS/LDFLAGS 2009-12-30 00:49:27 +00:00
roel@libnfc.org 6c5ad03860 mifare usb update 2009-12-30 00:18:35 +00:00
roel@libnfc.org 93f5759045 mifare tools update 2009-12-30 00:12:17 +00:00
roel@libnfc.org 32cfae439e mifare firmware update 2009-12-30 00:11:50 +00:00
roel@libnfc.org fa03a110e9 mifare client update 2009-12-30 00:11:23 +00:00
henryk@ploetzli.ch 2561caa24c Implement card reading with a few simple fixed obfuscation strings 2009-12-28 18:19:00 +00:00
henryk@ploetzli.ch 1d99b0df4a Remove LEGIC RF tag emulation code since it's useless without keystream generator 2009-12-28 18:18:25 +00:00
roel@libnfc.org 84c02e97e0 iso14443a cleanup, cascade2 level working again 2009-12-28 17:21:50 +00:00
roel@libnfc.org d24438f85c cleaning up endless copy-paste of trace functionality 2009-12-28 00:16:05 +00:00
roel@libnfc.org 249deb42a0 cleaning up endless copy-paste of trace functionality 2009-12-28 00:15:38 +00:00
bushing 5ed2c738ed fix Mac build to use Qt framework
(e.g. http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.6.0.dmg)
2009-12-27 23:27:29 +00:00
henryk@ploetzli.ch 55a69489cd Properly exit usb thread (e.g. on Ctrl-D) 2009-12-22 20:32:40 +00:00
henryk@ploetzli.ch a665f74081 Use the interworking version of libgcc.a 2009-12-22 16:40:03 +00:00
bushing 59936251ff remove some straggling files and fix paths in cockpit batch files 2009-12-22 13:05:32 +00:00
bushing ead7519327 change MFPR version to 2.4.2 to fix install script fail 2009-12-22 12:56:36 +00:00
bushing 022c8791c1 fixes to make it work properly on the Mac 2009-12-22 12:54:24 +00:00
bushing 940a20122d merge makefiles into one 2009-12-22 12:52:02 +00:00
bushing d5be6f7cd4 fix OS detection, libgcc detection 2009-12-22 12:50:34 +00:00
bushing 1dea88f976 fix some ARM build fail 2009-12-22 12:48:33 +00:00
bushing f11f5c2738 fix target name for Windows compile 2009-12-22 12:47:10 +00:00
bushing 9b25560889 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
2009-12-22 12:46:04 +00:00
bushing aa81a8d3f1 rename ReceiveCommandP -> ReceiveCommandPoll for consistency 2009-12-22 12:44:38 +00:00