Join appletv spammy

This commit is contained in:
Willy-JL
2023-09-06 12:55:31 +02:00
parent c4aa88061c
commit 23e08baaf1
2 changed files with 5 additions and 3 deletions

View File

@@ -129,7 +129,9 @@ void continuity_generate_packet(const ContinuityMsg* msg, uint8_t* packet) {
break;
case ContinuityTypeNearbyAction:
packet[i++] = msg->data.nearby_action.flags; // Action Flags
packet[i] = msg->data.nearby_action.flags; // Action Flags
if(packet[i] == 0xBF && rand() % 2) packet[i]++; // Ugly hack to shift 0xBF-0xC0 for spam
i++;
packet[i++] = msg->data.nearby_action.type;
packet[i++] = (rand() % 256); // Authentication Tag
packet[i++] = (rand() % 256); // ...