Commit Graph

  • 0ec147513c utils: fix encoding/decoding of IMSI value Ben Fox-Moore 2018-09-24 15:47:02 +02:00
  • c555e18ebb tests: add example test data for Wavemobile-SIM Philipp Maier 2018-09-13 09:43:26 +02:00
  • c8ce82a11f cards: Add support for Wavemobile SIM Philipp Maier 2018-07-04 17:57:20 +02:00
  • 11a2e3ca10 tests: add example file for sysmosim-gr1 Philipp Maier 2018-08-23 10:38:18 +02:00
  • a3de5a331e cards: do not feed ascii as adm for sysmosim-gr1 Philipp Maier 2018-08-23 10:27:04 +02:00
  • 087feff7cb cards: autodetect sysmosim-gr1 Philipp Maier 2018-08-23 09:41:36 +02:00
  • 52f59aca78 readme: add 'serial' dep, cosmetically rearrange Neels Hofmeyr 2018-07-19 14:48:55 +02:00
  • fb98dd6d6e commands: depend on pytlv only when it is actually needed Philipp Maier 2018-07-19 12:00:44 +02:00
  • 53b6dc216f readme: add info about dependencies Philipp Maier 2018-07-19 11:37:39 +02:00
  • 73a0f047a1 add .gitreview Alexander Couzens 2018-07-19 23:50:56 +02:00
  • 4731232aae contrib: add jenkins.sh Alexander Couzens 2018-07-19 23:31:39 +02:00
  • 7f340851fc tests: add test program to verify pysim-prog.py (and pysim-read.py) Philipp Maier 2018-07-10 16:21:54 +02:00
  • af9ae8bd6e cards: return SW in method update_plmnsel() of class Card Philipp Maier 2018-07-13 11:15:49 +02:00
  • 1be35bfa09 cosmetic: fix cut and paste error in comment Philipp Maier 2018-07-13 11:29:03 +02:00
  • a2650496ce pySim-read: read contents of PLMN related files. Philipp Maier 2018-07-11 23:05:58 +02:00
  • ea6bdf0b99 pySim-read: Print exception when reading of EF.MSISDN fails Philipp Maier 2018-07-11 23:02:36 +02:00
  • 589c1a4ff5 cosmetic: fix excess space in log output (typo) Philipp Maier 2018-07-11 22:59:53 +02:00
  • 5bf42600d4 cards: add update method for EF:PLMNsel to Card class Philipp Maier 2018-07-11 23:23:40 +02:00
  • ac9dde683f pysim-prog: add commandline option to probe cards Philipp Maier 2018-07-04 11:05:14 +02:00
  • 0e3fcaa1bb commands: get file/record length from FCP (USIM) Philipp Maier 2018-06-13 12:34:03 +02:00
  • 859e0fd1ce __init__: also fetch response bytes for USIMs automatically Philipp Maier 2018-06-12 18:40:24 +02:00
  • f779231da2 csv: fix missing import (broken CSV support) Philipp Maier 2018-06-11 17:11:39 +02:00
  • d4ebb6fdf4 __init__: allow wildcards in expected SW for send_apdu_checksw() Philipp Maier 2018-06-12 17:56:07 +02:00
  • d9824887c9 pysim-prog: also allow raw hex adm pins besides numeric ascii Philipp Maier 2018-06-13 09:21:59 +02:00
  • 9eeadfc46b add support for open cells SIM cards Todd Neal 2018-04-25 15:36:29 -05:00
  • 6cbecaaf5c transport/serial: Fix serial transport Martin Hauke 2018-02-18 17:04:50 +01:00
  • 5dfda9fdd7 pySim-fairwaves-prog: Read a selected A3/A8 algorithm. fairwaves/sim Alexander Chemeris 2018-01-27 02:09:04 +09:00
  • 99b5e321e5 Checking in pySim-read-all.py - utility to read all known files on a SIM card. Alexander Chemeris 2018-01-27 02:08:25 +09:00
  • d21ef12f8d commands: Allow reading binary/record files if they are already selected. Alexander Chemeris 2018-01-27 02:07:10 +09:00
  • 1198ad9e15 utils: Add a function to decode SELECT result for EF files. Alexander Chemeris 2018-01-27 02:06:30 +09:00
  • cc85a1ee71 utils: Zero-pad MCC and MNC in enc_plmn() Alexander Chemeris 2018-01-27 02:05:20 +09:00
  • 2322c1f9ff Checking in various utilities to manipulate Fairwaves SIM card DB. Alexander Chemeris 2018-01-26 16:45:59 +09:00
  • 6a38c4a2f3 Checking in pySim-run-gsm.py - utility to run A3/A8 on a SIM card. Alexander Chemeris 2018-01-26 16:24:27 +09:00
  • 575f64e38a pySim-read: Read SPN and use new EF constants to address other files. Alexander Chemeris 2018-01-26 15:57:19 +09:00
  • 4d5c0293a2 pySim-fairwaves-prog: Write Ki/OPC/IMSI as read from the input file. Alexander Chemeris 2018-01-26 15:55:58 +09:00
  • 3a27424ff8 pySim-fairwaves-prog: Add an option to play sound on successful write in the batch mode. Alexander Chemeris 2018-01-26 15:53:26 +09:00
  • 5705837a1b ts_51_011: Fix a comment language. Alexander Chemeris 2018-01-26 15:52:29 +09:00
  • b5208b5544 cards: Add ability to read/set A3/A8 algorithm for Fairwaves SIM cards. Alexander Chemeris 2018-01-26 15:51:19 +09:00
  • 4dabfda193 cards: Minor formating cleanup Alexander Chemeris 2018-01-26 15:50:46 +09:00
  • 6d4a0a1a3e Add a comanda to run GSM auth algorithm. Alexander Chemeris 2018-01-26 15:49:49 +09:00
  • d9d2b941eb Revert "pySim-prog: ADM code can be longer 8 digits, it's implementation specific." Harald Welte 2018-01-23 16:20:34 +01:00
  • e6d4faa6f5 Checking in pySim-fairwaves-prog.py utility. Alexander Chemeris 2018-01-11 13:27:08 +09:00
  • 19fffa1db7 Make derive_milenage_opc and calculate_luhn publicly available through utils.py Alexander Chemeris 2018-01-11 13:06:43 +09:00
  • e0d9d88cd5 cards: Add Fairwaves SIM implementation. Alexander Chemeris 2018-01-10 14:18:32 +09:00
  • 8ad124a0b8 cards: Implement card type autodetection based on ATR. Alexander Chemeris 2018-01-10 14:17:55 +09:00
  • 47c73abd04 pySim-prog: Replace magic numbers with a readable EF file name. Alexander Chemeris 2018-01-10 14:10:17 +09:00
  • a51592e180 pySim-prog: ADM code can be longer 8 digits, it's implementation specific. Alexander Chemeris 2018-01-10 14:07:30 +09:00
  • eb6807d3cb cards: Extend Card class with access functions for some of the standard EF files. Alexander Chemeris 2017-07-18 17:04:38 +03:00
  • d2d660a935 Add methods to get ATR for a card or a link. Alexander Chemeris 2017-07-18 16:52:25 +03:00
  • dddbf525da utils: Fix documentation. 3+3=6 digits equals 3 bytes, not 6 Alexander Chemeris 2017-07-18 16:49:59 +03:00
  • a5f0ea6979 utils: Functions to encode/decode EF SPN. Alexander Chemeris 2017-07-18 16:48:47 +03:00
  • 067f69cade ts_51_011: A file with MF/DF/EF constants from TS 51 011 Alexander Chemeris 2017-07-18 16:44:26 +03:00
  • d17ca3ddd8 Fix comment: Ki -> OPC Alexander Chemeris 2017-07-18 16:40:58 +03:00
  • 665bd22fc5 utils.py: dec_imsi: Fix ValueError Pau Espin Pedrol 2017-12-29 20:30:35 +01:00
  • 287b6ce1b4 pySim-prog.py: Fix trailing whitespace Pau Espin Pedrol 2017-12-29 20:48:51 +01:00
  • ac23ad5013 pySim-*.py: Set shebang to use python v2 Pau Espin Pedrol 2017-12-29 20:30:35 +01:00
  • 1d087efc97 Support writing SMSP for sysmoUSIM-SJS1 Daniel Willmann 2017-08-31 10:08:45 +02:00
  • e960488338 fix writing of ICCID for sysmo-usim-sjs1 Philipp Maier 2017-03-21 17:24:31 +01:00
  • 4146086d2f Fix select control parameter Philipp Maier 2017-03-21 12:05:30 +01:00
  • 3ce84d9a44 cosmetic: missing newlines on last line of 2 files Neels Hofmeyr 2017-03-21 13:07:46 +01:00
  • 9b7c45d05d README.md: Cosmetic/Formatting fixes Harald Welte 2017-03-17 22:34:08 +01:00
  • 42b6be8747 Update README with general project information and convert to Markdown Harald Welte 2017-03-17 18:08:09 +01:00
  • 9a1dcea7b3 Revert "Do not return the FCI information while selecting a file" Harald Welte 2016-10-27 14:40:02 +02:00
  • 4e824686f5 re-program: Instead of specifying the IMSI, read it from the card. Holger Hans Peter Freyther 2012-08-15 15:56:05 +02:00
  • d56eb30eea WIP.. EF.auth changes zecke/tmp2 Holger Hans Peter Freyther 2015-11-05 09:35:10 +01:00
  • 8c1b33c439 Do not return the FCI information while selecting a file Jan Balke 2015-01-26 11:18:28 +01:00
  • 3e84067a2b Add provision support for sysmoUSIM-SJS1 cards Jan Balke 2015-01-26 15:36:27 +01:00
  • c3ebd33544 Add PIN-ADM argument to the command line Jan Balke 2015-01-26 12:22:55 +01:00
  • 14b350f3a1 Allow changing the class byte for pdu messages Jan Balke 2015-01-26 11:15:25 +01:00
  • e9e5ecbe30 Introduce a '--dry-run' option to skip actual card access Harald Welte 2012-08-15 15:26:30 +02:00
  • c26b82939f read_params_csv: Make sure we don't end up in endless loop Harald Welte 2012-08-15 15:25:51 +02:00
  • 7f62cecb61 pySim-prog: Add mode where it can re-generate a card from CSV Harald Welte 2012-08-13 20:07:41 +02:00
  • 130524b719 split parameter writing for CSV and SQL into separate functions Harald Welte 2012-08-13 15:53:43 +02:00
  • 533a0dce3a Add provision support for sysmoUSIM-SJS1 cards Jan Balke 2015-01-26 15:36:27 +01:00
  • 29474b0d5b Add PIN-ADM argument to the command line Jan Balke 2015-01-26 12:22:55 +01:00
  • 800c9eb097 Do not return the FCI information while selecting a file Jan Balke 2015-01-26 11:18:28 +01:00
  • 73b686f7ee Allow changing the class byte for pdu messages Jan Balke 2015-01-26 11:15:25 +01:00
  • 1f81cbf1f0 ccc: Fix SMSP generation in CCC tool as well ccc Sylvain Munaut 2011-12-27 01:30:47 +01:00
  • 487d01833d 27c3: Add a ccc-fix script to correct bad SMSP file ... Sylvain Munaut 2010-12-26 21:31:24 +01:00
  • 33339a6daa Import of the programming tool Sylvain Munaut 2010-12-26 01:01:21 +01:00
  • 93ec5f3566 Initial add of 27C3 HLR management tools Sylvain Munaut 2010-12-26 00:11:19 +01:00
  • 2fc205ceb9 cards: sysmocom SysmoSIM-GR2 support added to cards Sylvain Munaut 2013-12-23 17:22:56 +01:00
  • 9f13897408 pySim-read: MISDN is not mandatory Sylvain Munaut 2013-07-18 10:36:51 +02:00
  • 7be92ff5d2 Move encoder functions for ICCID, IMSI and PLMN to pySim.utils for consistency. Alexander Chemeris 2013-07-10 11:18:06 +04:00
  • 6e58914746 Add an utility to read data from a SIM card. Alexander Chemeris 2013-07-04 17:34:06 +04:00
  • 5e96c3d910 utils: Add functions to decode IMSI and ICCID from EF raw data. Alexander Chemeris 2013-07-04 17:33:33 +04:00
  • 21885249cf Implement setting of EF.ACC file in GrcardSim and _MagicSimBase Alexander Chemeris 2013-07-02 16:56:55 +04:00
  • 5da8d4e0d4 cards: Fix spacing according to PEP Sylvain Munaut 2013-07-02 15:13:24 +02:00
  • 053c89578c cards: Fix comment position Sylvain Munaut 2013-07-02 15:12:32 +02:00
  • 44e4636755 re-program: Instead of specifying the IMSI, read it from the card. zecke/hacks Holger Hans Peter Freyther 2012-08-15 15:56:05 +02:00
  • 93315bd466 Introduce a '--dry-run' option to skip actual card access Harald Welte 2012-08-15 15:26:30 +02:00
  • 69c2ce2525 read_params_csv: Make sure we don't end up in endless loop Harald Welte 2012-08-15 15:25:51 +02:00
  • 8b59a55488 pySim-prog: Add mode where it can re-generate a card from CSV Harald Welte 2012-08-13 20:07:41 +02:00
  • 1d5968cfcf split parameter writing for CSV and SQL into separate functions Harald Welte 2012-08-13 15:53:43 +02:00
  • cca41795a7 usim/opc: Derive OPC from KI and OP Holger Hans Peter Freyther 2012-03-22 15:23:14 +01:00
  • 93b38cd0f5 usim/opc: Add support to write completely random OPC Harald Welte 2012-03-22 14:31:36 +01:00
  • 4d91bf449f sysmoUSIM-GR1: Add basic (hacky) support for the sysmoUSIM-GR1 Holger Hans Peter Freyther 2012-03-22 14:28:38 +01:00
  • 8ca49e9ca8 cards: SMSP is left padded not right padded Sylvain Munaut 2011-12-10 09:57:50 +01:00
  • 9977c86e96 pySim-prog: Fix SMSC 'number type' field to 0x81 Sylvain Munaut 2011-12-10 09:57:16 +01:00
  • 607ce2a029 Fix computation of SMSP from a SMSC number Sylvain Munaut 2011-12-08 20:16:43 +01:00