remove encryption debugging from client_emu.js

This commit is contained in:
zefie
2025-08-09 20:15:23 -04:00
parent f89dd38b13
commit 8dbef7220a

View File

@@ -140,14 +140,12 @@ class WebTVClientSimulator {
// This matches the real WebTV client behavior seen in packet captures
this.debugLog('Sending SECURE ON request...');
const secureOnBuffer = this.buildSecureOnRequest();
console.log(secureOnBuffer.toString('hex'));
socket.write(secureOnBuffer);
// Send encrypted request immediately after (as seen in pcap analysis)
setImmediate(() => {
this.debugLog('Sending encrypted request...');
const encryptedRequestData = this.buildEncryptedRequest(serviceName, path, data);
console.log(encryptedRequestData.toString('hex'));
socket.write(encryptedRequestData);
});
} else {