1
0

reality_targets.js 1.1 KB

123456789101112131415161718192021222324252627
  1. // List of popular services for VLESS Reality Target/SNI randomization
  2. const REALITY_TARGETS = [
  3. { target: 'www.apple.com:443', sni: 'www.apple.com' },
  4. { target: 'www.icloud.com:443', sni: 'www.icloud.com' },
  5. { target: 'www.amazon.com:443', sni: 'www.amazon.com' },
  6. { target: 'aws.amazon.com:443', sni: 'aws.amazon.com' },
  7. { target: 'www.oracle.com:443', sni: 'www.oracle.com' },
  8. { target: 'www.nvidia.com:443', sni: 'www.nvidia.com' },
  9. { target: 'www.amd.com:443', sni: 'www.amd.com' },
  10. { target: 'www.intel.com:443', sni: 'www.intel.com' },
  11. { target: 'www.tesla.com:443', sni: 'www.tesla.com' },
  12. { target: 'www.sony.com:443', sni: 'www.sony.com' }
  13. ];
  14. /**
  15. * Returns a random Reality target configuration from the predefined list
  16. * @returns {Object} Object with target and sni properties
  17. */
  18. function getRandomRealityTarget() {
  19. const randomIndex = Math.floor(Math.random() * REALITY_TARGETS.length);
  20. const selected = REALITY_TARGETS[randomIndex];
  21. // Return a copy to avoid reference issues
  22. return {
  23. target: selected.target,
  24. sni: selected.sni
  25. };
  26. }