1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
| hex_strings = [ "6812000002000f0103000506010000660000001b", "6812020002000f0103000506010000660000001c", "6812040002000f0103000506030000610000001b", "6812060002000f01030005060b0000640000001a", "6812080002000f0103000506080000620000001b", "68120a0002000f01030005060c0000390000001a", "68120e0002000f0103000506110000380000001b", "6812100002000f0103000506150000300000001a", "6812120002000f01030005061a00006500000018", "6812140002000f01030005061e00003800000017", "6812160002000f01030005062700003500000017", "6812180002000f01030005061800006400000017", "68121a0002000f01030005060500007b0000001b", "68121c0002000f0103000506030000610000001c", "68121e0002000f01030005060500007b0000001c", "6812200002000f0103000506060000360000001b", "6812220002000f01030005060a0000340000001b", "6812240002000f01030005060c0000390000001b", "6812260002000f0103000506140000350000001b", "6812280002000f01030005061700003900000017", "68122a0002000f01030005061900006300000017", "68122c0002000f01030005061900006300000018", "6812300002000f01030005061c00006400000018", "6812320002000f01030005061e00003800000018", "6812340002000f01030005062700003500000018", "6812360002000f01030005061800006400000018", "6812380002000f0103000506040000670000001b", "68123a0002000f0103000506030000610000001d", "68123c0002000f0103000506040000670000001c", "68123e0002000f01030005060500007b0000001d", "6812400002000f0103000506060000360000001c", "6812420002000f0103000506070000380000001b", "6812440002000f0103000506080000620000001c", "6812460002000f0103000506090000330000001b", "6812480002000f01030005060d0000320000001b", "68124a0002000f01030005060e0000640000001b", "68124c0002000f01030005060a0000340000001c", "68124e0002000f0103000506090000330000001c", "6812500002000f01030005060e0000640000001c", "6812520002000f01030005060f0000380000001a", "6812540002000f01030005060f0000380000001b", "6812560002000f0103000506140000350000001c", "6812580002000f01030005060e0000640000001d", "68125a0002000f0103000506160000330000001b", "68125c0002000f01030005061900006300000019", "68125e0002000f01030005061c00006400000019", "6812600002000f01030005062700003500000019", "6812620002000f0103000506270000350000001a", "6812640002000f0103000506010000660000001d", "6812660002000f01030005060200006c0000001b", "6812680002000f0103000506030000610000001e", "68126a0002000f0103000506040000670000001d", "68126c0002000f01030005060500007b0000001e", "68126e0002000f0103000506060000360000001d", "6812700002000f0103000506070000380000001c", "6812720002000f0103000506080000620000001d", "6812740002000f0103000506090000330000001d", "6812760002000f01030005060a0000340000001d", "6812780002000f01030005060b0000640000001b", "68127a0002000f01030005060c0000390000001c", "68127c0002000f01030005060d0000320000001c", "68127e0002000f01030005060e0000640000001e", "6812800002000f01030005060f0000380000001c", "6812840002000f0103000506110000380000001c", "6812860002000f0103000506120000340000001b", "6812880002000f0103000506130000340000001c", "68128a0002000f0103000506140000350000001d", "68128c0002000f0103000506150000300000001b", "68128e0002000f0103000506160000330000001c", "6812900002000f01030005061700003900000018", "6812920002000f01030005062800007d00000017", "6812940002000f0103000506190000630000001a", "6812960002000f01030005061a00006500000019", "68129a0002000f01030005061c0000640000001a", "68129c0002000f01030005061d00003600000018", "68129e0002000f01030005061e00003800000019", "6812a00002000f01030005061f00003100000017", "6812a20002000f01030005062000003900000017", "6812a40002000f01030005062100006400000016", "6812a60002000f01030005062200003200000016", "6812a80002000f01030005062300003300000015", "6812aa0002000f01030005062400003600000016", "6812ac0002000f01030005062500003200000016", "6812ae0002000f01030005062600006400000016", "6812b00002000f0103000506270000350000001b", "6812b20002000f01030005061800006400000019", "6812b40002000f01030005062500003200000017", "6812b60002000f01030005061d00003600000019", "6812b80002000f0103000506060000360000001e", "6812ba0002000f0103000506040000670000001e", "6812bc0002000f0103000506010000660000001e", "6812be0002000f01030005060200006c0000001c", "6812c20002000f01030005062400003600000017", "6812c40002000f0103000506090000330000001e", "6812c80002000f0103000506060000360000001f", "6812ca0002000f01030005062200003200000017", "6812cc0002000f01030005062400003600000018", "6812ce0002000f01030005062600006400000017", "6812d00002000f01030005062000003900000018", "6812d20002000f01030005060200006c0000001d", "6812d40002000f01030005060200006c0000001e", "6812d60002000f01030005060500007b0000001f", "6812d80002000f01030005060b0000640000001c", "6812da0002000f0103000506110000380000001d", "6812dc0002000f01030005062600006400000018", "6812de0002000f01030005061c0000640000001b", "6812e00002000f0103000506040000670000001f", "6812e20002000f0103000506080000620000001e", "6812e40002000f01030005060d0000320000001d", "6812e60002000f01030005060a0000340000001e", "6812e80002000f0103000506080000620000001f", "6812ea0002000f01030005061a0000650000001a", "6812ec0002000f01030005062000003900000019" ]
sorted_hex_strings = sorted(hex_strings, key=lambda x: int(x[24:26], 16))
unique_hex_strings = [] last_byte_13 = None
for hex_string in sorted_hex_strings: byte_13 = hex_string[24:26] if byte_13 != last_byte_13: unique_hex_strings.append(hex_string) last_byte_13 = byte_13
ascii_output = ""
for hex_string in unique_hex_strings: byte_16 = hex_string[30:32] byte_16_decimal = int(byte_16, 16) ascii_char = chr(byte_16_decimal)
ascii_output += ascii_char
print(f"Concatenated ASCII: {ascii_output}")
|