Launcher: set up GoldHEN auto-start itself; reach Control4Free from the app

- The first Cross copies the bundled payload to /data/payloads and adds it
  to GoldHEN's AutoRun list, then starts it if PayLoader is on. Triangle
  turns auto-start on or off, or updates an older copy. The app leaves its
  sandbox for this through GoldHEN's SDK call and returns right after.
- The app tries 127.0.0.1 and then the console's own address, for both
  Control4Free and PayLoader, and shows why neither answered.
- The launcher API no longer requires a loopback source address, since
  the app's sandbox may not appear as 127.0.0.1. The custom header and
  the Origin check still keep websites out.
- The screen and messages no longer assume a phone.
This commit is contained in:
MoHadiShibli committed 2026-10-04 21:12:51 +03:00
1 parent b3863fa5f1
commit 0fe839ad2e
15 files changed
+598 -107

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
#define C4F_NET_CLIENTS 8
#define C4F_NET_MESSAGE 4096
typedef struct C4fNetClient {
int fd, websocket, closing, fragmented, loopback;
int fd, websocket, closing, fragmented;
uint64_t openedMs;
unsigned char rx[8192], tx[8192];
size_t rxUsed, txUsed, txSent, messageUsed;