MCPcopy Create free account
hub / github.com/6dylan6/jdm / randomString

Function randomString

jd_computer.js:444–450  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

442 $.UA = `jdapp;iPhone;10.0.10;14.3;${randomString(40)};network/wifi;model/iPhone12,1;addressid/4199175193;appBuild/167741;jdSupportDarkMode/0;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1`
443}
444function randomString(e) {
445 e = e || 32;
446 let t = "abcdef0123456789", a = t.length, n = "";
447 for (i = 0; i < e; i++)
448 n += t.charAt(Math.floor(Math.random() * a));
449 return n
450}
451
452function jsonParse(str) {
453 if (typeof str == "string") {

Callers 1

getUAFunction · 0.70

Calls 1

randomMethod · 0.45

Tested by

no test coverage detected