Commit graph

17304 commits

Author SHA1 Message Date
iceman1001 efac735bad added support for HID SAM picopass communications. Nasty array copying but does the trick. Will need refactoring. 2023-10-18 19:59:34 +02:00
iceman1001 14a0e0bc72 fix old length for sim module 2023-10-18 15:18:58 +02:00
Iceman fea78ae95a
Merge pull request #2140 from wh201906/short_flag
Add short flag -m for timeout related commands
2023-10-18 15:08:18 +02:00
Self Not Found 7dbdc7cf10
Add short flag -m for timeout related commands 2023-10-18 18:47:32 +08:00
Iceman 119a4c5efa
Merge pull request #2139 from jmichelp/quotes
Support double-quoted arguments in CLI
2023-10-18 11:15:17 +02:00
Jean-Michel Picod dbe0412311 Simplify quote handling 2023-10-18 10:38:33 +02:00
Jean-Michel Picod 238faaf226 Add entry to CHANGELOG.md 2023-10-18 10:32:18 +02:00
Jean-Michel Picod 3b7cec365a Support double-quoted arguments in CLI
When a quoted command argument is seen, it will take all characters
until the next double-quote (no supported escape sequence here for
simplicity).
All white spaces (space, tab, etc.) are then removed from the argument.

This means that the following command should behave the same:
```
pm3> wiegand encode --fc 101 --cn 1337
pm3> wiegand encode --fc "1 0 1" --cn "1    3    3   7"
```

Or a more useful example, when copy/pasting hex formatted values:
```
pm3> hf iclass calcnewkey --old 1122334455667788 --new 2233445566778899
pm3> hf iclass calcnewkey --old "11 22 33 44 55 66 77 88" --new "22 33 44 55 66 77 88 99"
```
2023-10-18 10:27:12 +02:00
Iceman a5124c3109
Update README.md
Signed-off-by: Iceman <iceman@iuse.se>
2023-10-18 09:18:01 +02:00
Iceman 43344729fc
Merge pull request #2138 from wh201906/badge
Change URLs of badge in README.md
2023-10-18 09:15:49 +02:00
Self Not Found a842c8ca0e
Change URLs of badge in README.md 2023-10-18 10:14:12 +08:00
Iceman ec73287f60
Merge pull request #2137 from jmichelp/sam
Remove compilation error.
2023-10-17 23:09:48 +02:00
Jean-Michel Picod 8cc7022604 Remove compilation error.
Function is already declared (non-static) in armsrc.
Compiler was complaining about re-defining a non-static func by a static
one.
2023-10-17 19:33:59 +02:00
Iceman c6d4809743
Merge pull request #2136 from jmichelp/sam
Fix potential stack overflow while making it easier to support more ATRs
2023-10-17 19:16:11 +02:00
Jean-Michel Picod ce45b3b242 Fix potential stack overflow while making it easier to support more ATRs 2023-10-17 19:05:57 +02:00
Iceman f469c7d465
Merge pull request #2135 from wh201906/udp_win
Add UDP support on Windows
2023-10-17 16:59:03 +02:00
wh201906 5e22ed25bc
Add UDP support on Windows 2023-10-17 22:48:12 +08:00
iceman1001 78e1a84515 added the timeout to preferences, so its stored in the pref file but... there need to be adaptations to the uart_p*/uart_w* files to use the the session value.. 2023-10-17 14:54:44 +02:00
Iceman 748b0f0874
Merge pull request #2134 from wh201906/ipv6
Add IPv6 support
2023-10-17 14:50:39 +02:00
wh201906 d1f916ba25
Reduce the default communication timeout for local IPv6 address 2023-10-17 20:20:21 +08:00
wh201906 08d55f331c
Add an entry in CHANGELOG 2023-10-17 19:52:39 +08:00
wh201906 d9b5afbb92
Add IPv6 support for TCP (Windows) 2023-10-17 19:40:41 +08:00
wh201906 67d36152cc
Add IPv6 support for UDP (Linux) 2023-10-17 18:40:17 +08:00
wh201906 2e0c24c8f2
Add IPv6 support for TCP (Linux) 2023-10-17 18:32:13 +08:00
Iceman 5266321983
Merge pull request #2133 from wh201906/speed_up_codeql
Speed up CodeQL CI
2023-10-16 16:22:14 +02:00
Iceman 30972d2f77
Merge pull request #2132 from wh201906/udp
Increase the speed of uart_receive() in UDP mode
2023-10-16 16:21:58 +02:00
wh201906 bd34794d26
Add error handling 2023-10-16 21:12:14 +08:00
Self Not Found a333438fa4
Speed up CodeQL 2023-10-16 21:04:15 +08:00
wh201906 703a2c968a
Faster uart_receive() in UDP mode
Added some functions for writing data to the ring buffer directly
Increased the size of ring buffer
2023-10-16 20:05:42 +08:00
iceman1001 d738f3171c maur, thanks to Randy! 2023-10-16 10:14:38 +02:00
Iceman 9dac59a6be
Merge pull request #2131 from rozetkinrobot/patch-1
Fix typo in magic_card_notes.md
2023-10-15 20:56:54 +02:00
Eugenue Cherevatskii 732473bdf2
Fix typo in magic_card_notes.md
Signed-off-by: Eugenue Cherevatskii <34691028+rozetkinrobot@users.noreply.github.com>
2023-10-15 21:49:46 +03:00
Iceman a061980804
Merge pull request #2130 from wh201906/udp
UDP support on Linux
2023-10-15 20:46:48 +02:00
wh201906 3df58f3a9e
Clean up 2023-10-16 02:09:22 +08:00
wh201906 5775b53078
UDP support on Linux 2023-10-16 01:56:03 +08:00
wh201906 7aef669e59
Add ringbuffer
This is used in the UDP connection
2023-10-16 01:52:27 +08:00
iceman1001 13f9972f39 fix coverity resource leak 2023-10-15 17:49:48 +02:00
iceman1001 ade322a410 style 2023-10-15 17:14:56 +02:00
iceman1001 12fc664870 updated commands and text 2023-10-15 17:11:36 +02:00
iceman1001 8a9c043aa6 fixing "lf hid clone --bin" param to correctly handle sentinel bit 2023-10-15 15:23:14 +02:00
iceman1001 026cd7d53d style 2023-10-15 13:21:16 +02:00
iceman1001 0442e04e05 text 2023-10-15 13:19:33 +02:00
iceman1001 a35960c6d5 silence codegl 2023-10-15 12:47:45 +02:00
Iceman ac25c9d47a
Merge pull request #2129 from Antiklesys/master
Fixed iclass offline mode commands
2023-10-15 12:39:49 +02:00
Antiklesys 22b85c74d8 Fixed iclass info available in offline mode
Fixed iclass info available in offline mode
2023-10-15 18:27:25 +08:00
iceman1001 a348d58c6d support fct 2023-10-15 11:24:48 +02:00
iceman1001 0f9f5f116c text 2023-10-15 10:11:27 +02:00
Antiklesys 90ac7fb67b Fixed iclass offline mode commands
Fixed iclass offline mode commands
2023-10-15 13:59:38 +08:00
iceman1001 fc6feea0d4 experimental UDP support. Doesnt quite work yet 2023-10-14 20:30:13 +02:00
Iceman 3ff426338e
Merge pull request #2128 from wh201906/faster_CI
Faster CI
2023-10-14 14:03:20 +02:00