mirror of https://gerrit.osmocom.org/simtrace2
simtrace.py: remove unused cmd line option
The commands "cmd1", "cmd2", "cmd_poweron", "cmd_poweroff", "cmd_get_slot_stat", "cmd_get_param" where early test commands, but have not been used as such in moths. A programmer, who wants to send commands to the smartcard, should use the functions of ccid_raw.py (e.g. send_receive_cmd) instead.
This commit is contained in:
parent
66224b7e1b
commit
ba486b61ad
|
@ -22,15 +22,14 @@ def find_dev():
|
|||
# main code
|
||||
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("-c", "--cmd", help="cmds to send to sim card (Not supported yet)",
|
||||
choices=["cmd1", "cmd2", "cmd_poweron", "cmd_poweroff", "cmd_get_slot_stat", "cmd_get_param"])
|
||||
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')
|
||||
parser.add_argument("-m", "--mitm", help="Intercept communication (MITM)", action='store_true')
|
||||
|
||||
|
||||
args = parser.parse_args()
|
||||
print("args: ", args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue