mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 06:48:34 +03:00
ccid.py: Removed read_bin command
The code was used as early debug code to read different files from the SIM card and therefore acquire the IMSI, and other SIM card specific information. This only was useful for testing that the firmware worked properly. Is is not needed for regular use cases.
This commit is contained in:
@@ -24,7 +24,6 @@ def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
# FIXME: config names instead of numbers
|
||||
parser.add_argument("-C", "--conf", type=int, choices=[1, 2, 3, 4], help="Set USB config")
|
||||
parser.add_argument("-b", "--read_bin", help="read ICCID, IMSI, etc.", action='store_true')
|
||||
parser.add_argument("-s", "--sniff", help="Sniff communication!", action='store_true')
|
||||
parser.add_argument("-S", "--select_file", help="Transmit SELECT cmd!", action='store_true')
|
||||
parser.add_argument("-p", "--phone", help="Emulates simcard", action='store_true')
|
||||
@@ -38,8 +37,6 @@ def main():
|
||||
dev.set_configuration(args.conf)
|
||||
# Give pcsclite time to find the device
|
||||
time.sleep(1)
|
||||
if args.read_bin is True:
|
||||
ccid.pySim_read()
|
||||
if args.sniff is True:
|
||||
sniffer.sniff(dev)
|
||||
if args.select_file is True:
|
||||
|
||||
Reference in New Issue
Block a user