From 0e7ad7616f08567c208b170aa94c41990ec916d1 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 10 Sep 2020 21:35:01 +0200 Subject: [PATCH] experiments.py: remove unused code The code in this file was used for experiments while implementing the support for sysmo-isim-sja2, it is not needed anymore --- experiments.py | 75 -------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100755 experiments.py diff --git a/experiments.py b/experiments.py deleted file mode 100755 index 4d72fa0..0000000 --- a/experiments.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -from utils import * -from sysmo_isim_sja2 import * - - - -if __name__ == "__main__": - - print("HELLO EF_SIM_AUTH_KEY!") - myfile = SYSMO_ISIMSJA2_FILE_EF_SIM_AUTH_KEY() - print myfile - myfile.use_opc = True - myfile.sres_dev_func = 2 - myfile.opc = [0x23] * 16 - myfile.key = [0x42] * 16 - print myfile - myfile2 = SYSMO_ISIMSJA2_FILE_EF_SIM_AUTH_KEY(myfile.encode()) - print myfile2 - - print("=========================================================") - - - - myfile = SYSMO_ISIMSJA2_FILE_EF_USIM_AUTH_KEY_2G() - print myfile - - myfile.algo = SYSMO_ISIMSJA2_ALGO_MILENAGE; - myfile.sres_dev_func = 2 - myfile.opc = [0x23] * 16 - myfile.key = [0x42] * 16 - print myfile - - myfile2 = SYSMO_ISIMSJA2_FILE_EF_USIM_AUTH_KEY_2G(myfile.encode()) - print myfile2 - - - print("==========================================================") - - - - myfile = SYSMO_ISIMSJA2_FILE_EF_MILENAGE_CFG() - print myfile - - myfile.R1 = 0xAA - myfile.R2 = 0xBB - myfile.R3 = 0xCC - myfile.R4 = 0xDD - myfile.R5 = 0xEE - myfile.C1 = [0xDE] * 16 - myfile.C2 = [0xAD] * 16 - myfile.C3 = [0xBE] * 16 - myfile.C4 = [0xEF] * 16 - myfile.C5 = [0x12] * 16 - - - print myfile - - myfile2 = SYSMO_ISIMSJA2_FILE_EF_MILENAGE_CFG(myfile.encode()) - print myfile2 - - - print("==========================================================") - - myfile = SYSMO_ISIMSJA2_FILE_EF_USIM_SQN() - print myfile - print myfile.encode() - - myfile2 = SYSMO_ISIMSJA2_FILE_EF_USIM_SQN(myfile.encode()) - print myfile2 - print myfile2.encode() - - -