Changed ue.conf op to opc

This commit is contained in:
Ismael Gomez 2018-06-04 16:41:39 +02:00
parent be2276b8da
commit 3631c4a83f
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ void parse_args(all_args_t *args, int argc, char *argv[]) {
("usim.mode", bpo::value<string>(&args->usim.mode)->default_value("soft"), "USIM mode (soft or pcsc)") ("usim.mode", bpo::value<string>(&args->usim.mode)->default_value("soft"), "USIM mode (soft or pcsc)")
("usim.algo", bpo::value<string>(&args->usim.algo), "USIM authentication algorithm") ("usim.algo", bpo::value<string>(&args->usim.algo), "USIM authentication algorithm")
("usim.op", bpo::value<string>(&args->usim.op), "USIM operator variant") ("usim.opc", bpo::value<string>(&args->usim.op), "USIM operator ciphered variant")
("usim.imsi", bpo::value<string>(&args->usim.imsi), "USIM IMSI") ("usim.imsi", bpo::value<string>(&args->usim.imsi), "USIM IMSI")
("usim.imei", bpo::value<string>(&args->usim.imei), "USIM IMEI") ("usim.imei", bpo::value<string>(&args->usim.imei), "USIM IMEI")
("usim.k", bpo::value<string>(&args->usim.k), "USIM K") ("usim.k", bpo::value<string>(&args->usim.k), "USIM K")

View File

@ -88,7 +88,7 @@ file_max_size = -1
# #
# mode: USIM mode (soft/pcsc) # mode: USIM mode (soft/pcsc)
# algo: Authentication algorithm (xor/milenage) # algo: Authentication algorithm (xor/milenage)
# op: 128-bit Operator Variant Algorithm Configuration Field (hex) # opc: 128-bit Operator Ciphered Variant Algorithm Configuration Field (hex)
# k: 128-bit subscriber key (hex) # k: 128-bit subscriber key (hex)
# imsi: 15 digit International Mobile Subscriber Identity # imsi: 15 digit International Mobile Subscriber Identity
# imei: 15 digit International Mobile Station Equipment Identity # imei: 15 digit International Mobile Station Equipment Identity
@ -98,7 +98,7 @@ file_max_size = -1
[usim] [usim]
mode = soft mode = soft
algo = xor algo = xor
op = 63BFA50EE6523365FF14C1F45F88737D opc = 63BFA50EE6523365FF14C1F45F88737D
k = 00112233445566778899aabbccddeeff k = 00112233445566778899aabbccddeeff
imsi = 001010123456789 imsi = 001010123456789
imei = 353490069873319 imei = 353490069873319