Skip to content

[WIP] Add single-file index.html with encrypted game payload (domain-lock + anti-debug) - #1

Merged
SpeedyIndexcom merged 1 commit into
mainfrom
copilot/fix-badddfb4-0f9b-49c7-9d89-e21a630875b5
Aug 25, 2025
Merged

SpeedyIndexcom merged 1 commit into
mainfrom
copilot/fix-badddfb4-0f9b-49c7-9d89-e21a630875b5

Conversation

Copilot AI commented Aug 25, 2025

Copy link
Copy Markdown
Contributor
  • Analyzed existing index.html structure (1223 lines with inline JS)
  • Identified script sections: domain-lock (lines 9-29) and main game logic (lines 261-1222)
  • Create tools/encode-payload.mjs script for encryption
  • Extract JavaScript game logic from index.html
  • Create index.encrypted.html with same HTML/CSS but encrypted payload
  • Implement domain lock for allowed domains (index-men.com, www.index-men.com, localhost)
  • Add anti-debug protection (console suppression + DevTools detection)
  • Use XOR + Base64 encryption with SALT "idx|2025|v1"
  • Test the encrypted version works identically to original
  • Verify domain restrictions work correctly

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@SpeedyIndexcom
SpeedyIndexcom marked this pull request as ready for review August 25, 2025 15:51
@SpeedyIndexcom
SpeedyIndexcom merged commit fb77015 into main Aug 25, 2025
1 check failed
@SpeedyIndexcom SpeedyIndexcom removed their assignment Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants