Commit 636b2799 authored by wang's avatar wang

11

parent bf3cdf88
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
const Ev = (t, e, n) => {
for (var r = ie(encode(n), 10), o = [], a = -1, i = 0; i < t.length; i++) {
var l = Math.floor(i / r.length + 1),
c = i >= r.length ? i % r.length : i,
u = r.charCodeAt(c) * r.charCodeAt(l)
u > a && (a = u)
}
for (var f = 0; t.length > f; f++) {
var s = Math.floor(f / r.length) + 1,
d = f % r.length,
p = r.charCodeAt(d) * r.charCodeAt(s)
for (p >= e && (p = wv(p, 0, a, 0, e - 1)); -1 !== o.indexOf(p); ) p += 1
o.push(p)
}
return o.sort(function (t, e) {
return t - e
})
}
const encode = (t) => {
return Buffer.from(t, 'binary').toString('base64');
}
const ie = (t, e) => {
for (var n = '', r = 0; r < t.length; r++)
n += String.fromCharCode(e ^ t.charCodeAt(r))
return n
}
const wv = (t, e, n, r, o) => {
return Math.floor(((t - e) / (n - e)) * (o - r) + r)
}
const Fa = (t, e, n) => {
for (var r = '', o = 0, a = t.split(''), i = 0; i < t.length; i++)
(r += e.substring(o, n[i] - i - 1) + a[i]), (o = n[i] - i - 1)
return (r += e.substring(o))
}
function encodePayload(payload, uuid, sts) {
var sts = sts.length === 0 ? '1604064986000' : sts
const BasePayload = encode(ie(payload, 50))
const fv = ie(encode(sts), 10)
return Fa(fv, BasePayload, Ev(fv, BasePayload.length, uuid))
}
/**
* first post request: var firstPayloadEncoded = obfuscatePayload(firstPayloadpayload, uuid, "")
* second post request : var secondPayloadEncoded = var payloadencoded = obfuscatePayload(secondPayload, uuid, sts)
*/
module.exports = {
encodePayload: encodePayload
}
\ No newline at end of file
function D(t, e) {
var n, r = H(t), a = [], o = [];
for (a[15] = o[15] = void 0,
r.length > 16 && (r = O(r, 8 * t.length)),
n = 0; n < 16; n += 1)
a[n] = 909522486 ^ r[n],
o[n] = 1549556828 ^ r[n];
var i = O(a.concat(H(e)), 512 + 8 * e.length);
return X(O(o.concat(i), 640))
}
function X(t) {
var e, n = "";
for (e = 0; e < 32 * t.length; e += 8)
n += String.fromCharCode(t[e >> 5] >>> e % 32 & 255);
return n
}
function H(t) {
var e, n = [];
for (n[(t.length >> 2) - 1] = void 0,
e = 0; e < n.length; e += 1)
n[e] = 0;
for (e = 0; e < 8 * t.length; e += 8)
n[e >> 5] |= (255 & t.charCodeAt(e / 8)) << e % 32;
return n
}
function R(t, e) {
var n = (65535 & t) + (65535 & e);
return (t >> 16) + (e >> 16) + (n >> 16) << 16 | 65535 & n
}
function x(t, e, n, r, a, o, i) {
return B(e & n | ~e & r, t, e, a, o, i)
}
function B(t, e, n, r, a, o) {
return R((i = R(R(e, t), R(r, o))) << (c = a) | i >>> 32 - c, n);
var i, c
}
function _(t, e, n, r, a, o, i) {
return B(e & r | n & ~r, t, e, a, o, i)
}
function k(t, e, n, r, a, o, i) {
return B(e ^ n ^ r, t, e, a, o, i)
}
function M(t, e, n, r, a, o, i) {
return B(n ^ (e | ~r), t, e, a, o, i)
}
function O(t, e) {
t[e >> 5] |= 128 << e % 32,
t[14 + (e + 64 >>> 9 << 4)] = e;
var n, r, a, o, i, c = 1732584193, u = -271733879, f = -1732584194, s = 271733878;
for (n = 0; n < t.length; n += 16)
r = c,
a = u,
o = f,
i = s,
c = x(c, u, f, s, t[n], 7, -680876936),
s = x(s, c, u, f, t[n + 1], 12, -389564586),
f = x(f, s, c, u, t[n + 2], 17, 606105819),
u = x(u, f, s, c, t[n + 3], 22, -1044525330),
c = x(c, u, f, s, t[n + 4], 7, -176418897),
s = x(s, c, u, f, t[n + 5], 12, 1200080426),
f = x(f, s, c, u, t[n + 6], 17, -1473231341),
u = x(u, f, s, c, t[n + 7], 22, -45705983),
c = x(c, u, f, s, t[n + 8], 7, 1770035416),
s = x(s, c, u, f, t[n + 9], 12, -1958414417),
f = x(f, s, c, u, t[n + 10], 17, -42063),
u = x(u, f, s, c, t[n + 11], 22, -1990404162),
c = x(c, u, f, s, t[n + 12], 7, 1804603682),
s = x(s, c, u, f, t[n + 13], 12, -40341101),
f = x(f, s, c, u, t[n + 14], 17, -1502002290),
c = _(c, u = x(u, f, s, c, t[n + 15], 22, 1236535329), f, s, t[n + 1], 5, -165796510),
s = _(s, c, u, f, t[n + 6], 9, -1069501632),
f = _(f, s, c, u, t[n + 11], 14, 643717713),
u = _(u, f, s, c, t[n], 20, -373897302),
c = _(c, u, f, s, t[n + 5], 5, -701558691),
s = _(s, c, u, f, t[n + 10], 9, 38016083),
f = _(f, s, c, u, t[n + 15], 14, -660478335),
u = _(u, f, s, c, t[n + 4], 20, -405537848),
c = _(c, u, f, s, t[n + 9], 5, 568446438),
s = _(s, c, u, f, t[n + 14], 9, -1019803690),
f = _(f, s, c, u, t[n + 3], 14, -187363961),
u = _(u, f, s, c, t[n + 8], 20, 1163531501),
c = _(c, u, f, s, t[n + 13], 5, -1444681467),
s = _(s, c, u, f, t[n + 2], 9, -51403784),
f = _(f, s, c, u, t[n + 7], 14, 1735328473),
c = k(c, u = _(u, f, s, c, t[n + 12], 20, -1926607734), f, s, t[n + 5], 4, -378558),
s = k(s, c, u, f, t[n + 8], 11, -2022574463),
f = k(f, s, c, u, t[n + 11], 16, 1839030562),
u = k(u, f, s, c, t[n + 14], 23, -35309556),
c = k(c, u, f, s, t[n + 1], 4, -1530992060),
s = k(s, c, u, f, t[n + 4], 11, 1272893353),
f = k(f, s, c, u, t[n + 7], 16, -155497632),
u = k(u, f, s, c, t[n + 10], 23, -1094730640),
c = k(c, u, f, s, t[n + 13], 4, 681279174),
s = k(s, c, u, f, t[n], 11, -358537222),
f = k(f, s, c, u, t[n + 3], 16, -722521979),
u = k(u, f, s, c, t[n + 6], 23, 76029189),
c = k(c, u, f, s, t[n + 9], 4, -640364487),
s = k(s, c, u, f, t[n + 12], 11, -421815835),
f = k(f, s, c, u, t[n + 15], 16, 530742520),
c = M(c, u = k(u, f, s, c, t[n + 2], 23, -995338651), f, s, t[n], 6, -198630844),
s = M(s, c, u, f, t[n + 7], 10, 1126891415),
f = M(f, s, c, u, t[n + 14], 15, -1416354905),
u = M(u, f, s, c, t[n + 5], 21, -57434055),
c = M(c, u, f, s, t[n + 12], 6, 1700485571),
s = M(s, c, u, f, t[n + 3], 10, -1894986606),
f = M(f, s, c, u, t[n + 10], 15, -1051523),
u = M(u, f, s, c, t[n + 1], 21, -2054922799),
c = M(c, u, f, s, t[n + 8], 6, 1873313359),
s = M(s, c, u, f, t[n + 15], 10, -30611744),
f = M(f, s, c, u, t[n + 6], 15, -1560198380),
u = M(u, f, s, c, t[n + 13], 21, 1309151649),
c = M(c, u, f, s, t[n + 4], 6, -145523070),
s = M(s, c, u, f, t[n + 11], 10, -1120210379),
f = M(f, s, c, u, t[n + 2], 15, 718787259),
u = M(u, f, s, c, t[n + 9], 21, -343485551),
c = R(c, r),
u = R(u, a),
f = R(f, o),
s = R(s, i);
return [c, u, f, s]
}
function N(t){
var e, n, r = "0123456789abcdef", a = "";
for (n = 0; n < t.length; n += 1)
e = t.charCodeAt(n),
a += r.charAt(e >>> 4 & 15) + r.charAt(15 & e);
return a
}
function genPC1(t){
for (var e = "", n = "", r = 0; r < t.length; r++) {
var a = t.charCodeAt(r);
a >= 48 && a <= 57 ? e += t[r] : n += a % 10;
}
return e + n
}
function genPC2(r) {
var a = "";
var o = 0;
for(o = 0; o < r.length; o += 2)
a += r[o];
return a
}
/**
* tempuuid = uuid+":v{VERSIONNUMBER}-HF:{SITEID}"
* payload = normal payload, not encoded
* you can use pccreator like this: var pc = genPC2(genPC1(N(D(tempuuid, payload))))
*/
module.exports = {
genPC1: genPC1,
genPC2: genPC2,
N: N,
D: D
}
const {N} = require("./pcCreator.js");
const {D} = require("./pcCreator.js");
const md5 = require('md5');
function Me(t, e) {
for (var n = "", r = 0; r < t.length; r++)
n += String.fromCharCode(e ^ t.charCodeAt(r));
return n
}
/**
*
*
* @returns returns value looking like this as array ["15265:25;046306632:1","04374;34:157217723;0"]
*/
function createNonPXValue(cls, sts) {
var firstTimeStamp = sts % 10 + 2
var secondTimeStamp = sts % 10 + 1
return [""+Me(cls, firstTimeStamp), ""+Me(cls, secondTimeStamp)]
}
/**
*
*
* @returns returns timestamp
*/
function createPX12280() {
return Date.now()
}
/**
*
*
* @returns returns Date
*/
function createPX11840() {
return new Date();
}
function createPX11804(useragent, uuid) {
return N(D(useragent,uuid))
}
function createPX11746(useragent, vid) {
return N(D(useragent,vid))
}
function createPX11371(useragent, sid) {
return N(D(useragent,sid))
}
function createPX12501(vid) {
const hash = md5(vid);
return hash
}
function b(t, e) {
var n = t.length
, r = e ? Number(e) : 0;
if (r != r && (r = 0),
!(r < 0 || r >= n)) {
var a, o = t.charCodeAt(r);
return o >= 55296 && o <= 56319 && n > r + 1 && (a = t.charCodeAt(r + 1)) >= 56320 && a <= 57343 ? 1024 * (o - 55296) + a - 56320 + 65536 : o
}
};
/**
*
*
* @returns returns invisible string
*/
var Ef, Tf = "%uDB40%uDD";
function invisiblesid(t) {
return (t || "").split("").reduce((function(t, e) {
var n, r, a, o = "" + b(e, 0).toString(16), i = (n = o,
r = 2,
a = "0",
r >>= 0,
a = String(String(a) !== "undefined" ? a : " "),
n.length > r ? String(n) : ((r -= n.length) > a.length && (a += a.repeat(r / a.length)),
a.slice(0, r) + String(n)));
return t + unescape(Tf + i)
}
), "")
}
module.exports = {
createNonPXValue: createNonPXValue,
createPX11371: createPX11371,
invisiblesid: invisiblesid,
createPX12501: createPX12501,
createPX11746: createPX11746,
createPX11804:createPX11804,
createPX12280: createPX12280,
createPX11840: createPX11840,
}
\ No newline at end of file
...@@ -127,10 +127,10 @@ class PxBypass(): ...@@ -127,10 +127,10 @@ class PxBypass():
t2 = t1 + random.randint(3, 12) t2 = t1 + random.randint(3, 12)
_uuid = self.__uuid() _uuid = self.__uuid()
data = [{"t": "PX12095", data = [{"t": "PX12095",
"d": {"PX11645": "https://www.flyfrontier.com/", "PX12207": 0, "PX12458": "Win32", "PX11902": 0, "d": {"PX11645": "https://www.flyfrontier.com/", "PX12207": 0, "PX12458": "MacIntel", "PX11902": 0,
"PX11560": random.randint(8549, 8549 * 3), "PX12248": 3600, "PX11385": t1, "PX12280": t2, "PX11560": random.randint(8549, 8549 * 3), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": _uuid, "PX12564": None, "PX12565": -1, "PX11496": _uuid, "PX12564": None, "PX12565": -1,
"PX11379": True}}] "PX11379": False}}]
data_str = json.dumps(data, separators=(',', ':')) data_str = json.dumps(data, separators=(',', ':'))
self.log.info(f'data_str {data_str}') self.log.info(f'data_str {data_str}')
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@babel/core": "^7.22.10" "@babel/core": "^7.19.0",
"md5": "^2.3.0"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
...@@ -45,28 +46,32 @@ ...@@ -45,28 +46,32 @@
} }
}, },
"node_modules/@babel/core": { "node_modules/@babel/core": {
"version": "7.22.10", "version": "7.22.11",
"resolved": "https://registry.npmmirror.com/@babel/core/-/core-7.22.10.tgz", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.11.tgz",
"integrity": "sha512-fTmqbbUBAwCcre6zPzNngvsI0aNrPZe77AeqvDxWM9Nm+04RrJ3CAmGHA9f7lJQY6ZMhRztNemy4uslDxTX4Qw==", "integrity": "sha512-lh7RJrtPdhibbxndr6/xx0w8+CVlY5FJZiaSz908Fpy+G0xkBFTvwLcKJFF4PJxVfGhVWNebikpWGnOoC71juQ==",
"dependencies": { "dependencies": {
"@ampproject/remapping": "^2.2.0", "@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.22.10", "@babel/code-frame": "^7.22.10",
"@babel/generator": "^7.22.10", "@babel/generator": "^7.22.10",
"@babel/helper-compilation-targets": "^7.22.10", "@babel/helper-compilation-targets": "^7.22.10",
"@babel/helper-module-transforms": "^7.22.9", "@babel/helper-module-transforms": "^7.22.9",
"@babel/helpers": "^7.22.10", "@babel/helpers": "^7.22.11",
"@babel/parser": "^7.22.10", "@babel/parser": "^7.22.11",
"@babel/template": "^7.22.5", "@babel/template": "^7.22.5",
"@babel/traverse": "^7.22.10", "@babel/traverse": "^7.22.11",
"@babel/types": "^7.22.10", "@babel/types": "^7.22.11",
"convert-source-map": "^1.7.0", "convert-source-map": "^1.7.0",
"debug": "^4.1.0", "debug": "^4.1.0",
"gensync": "^1.0.0-beta.2", "gensync": "^1.0.0-beta.2",
"json5": "^2.2.2", "json5": "^2.2.3",
"semver": "^6.3.1" "semver": "^6.3.1"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/babel"
} }
}, },
"node_modules/@babel/generator": { "node_modules/@babel/generator": {
...@@ -205,13 +210,13 @@ ...@@ -205,13 +210,13 @@
} }
}, },
"node_modules/@babel/helpers": { "node_modules/@babel/helpers": {
"version": "7.22.10", "version": "7.22.11",
"resolved": "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.22.10.tgz", "resolved": "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.22.11.tgz",
"integrity": "sha512-a41J4NW8HyZa1I1vAndrraTlPZ/eZoga2ZgS7fEr0tZJGVU4xqdE80CEm0CcNjha5EZ8fTBYLKHF0kqDUuAwQw==", "integrity": "sha512-vyOXC8PBWaGc5h7GMsNx68OH33cypkEDJCHvYVVgVbbxJDROYVtexSk0gK5iCF1xNjRIN2s8ai7hwkWDq5szWg==",
"dependencies": { "dependencies": {
"@babel/template": "^7.22.5", "@babel/template": "^7.22.5",
"@babel/traverse": "^7.22.10", "@babel/traverse": "^7.22.11",
"@babel/types": "^7.22.10" "@babel/types": "^7.22.11"
}, },
"engines": { "engines": {
"node": ">=6.9.0" "node": ">=6.9.0"
...@@ -231,9 +236,9 @@ ...@@ -231,9 +236,9 @@
} }
}, },
"node_modules/@babel/parser": { "node_modules/@babel/parser": {
"version": "7.22.10", "version": "7.22.11",
"resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.10.tgz", "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.11.tgz",
"integrity": "sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==", "integrity": "sha512-R5zb8eJIBPJriQtbH/htEQy4k7E2dHWlD2Y2VT07JCzwYZHBxV5ZYtM0UhXSNMT74LyxuM+b1jdL7pSesXbC/g==",
"bin": { "bin": {
"parser": "bin/babel-parser.js" "parser": "bin/babel-parser.js"
}, },
...@@ -255,9 +260,9 @@ ...@@ -255,9 +260,9 @@
} }
}, },
"node_modules/@babel/traverse": { "node_modules/@babel/traverse": {
"version": "7.22.10", "version": "7.22.11",
"resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.22.10.tgz", "resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.22.11.tgz",
"integrity": "sha512-Q/urqV4pRByiNNpb/f5OSv28ZlGJiFiiTh+GAHktbIrkPhPbl90+uW6SmpoLyZqutrg9AEaEf3Q/ZBRHBXgxig==", "integrity": "sha512-mzAenteTfomcB7mfPtyi+4oe5BZ6MXxWcn4CX+h4IRJ+OOGXBrWU6jDQavkQI9Vuc5P+donFabBfFCcmWka9lQ==",
"dependencies": { "dependencies": {
"@babel/code-frame": "^7.22.10", "@babel/code-frame": "^7.22.10",
"@babel/generator": "^7.22.10", "@babel/generator": "^7.22.10",
...@@ -265,8 +270,8 @@ ...@@ -265,8 +270,8 @@
"@babel/helper-function-name": "^7.22.5", "@babel/helper-function-name": "^7.22.5",
"@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-hoist-variables": "^7.22.5",
"@babel/helper-split-export-declaration": "^7.22.6", "@babel/helper-split-export-declaration": "^7.22.6",
"@babel/parser": "^7.22.10", "@babel/parser": "^7.22.11",
"@babel/types": "^7.22.10", "@babel/types": "^7.22.11",
"debug": "^4.1.0", "debug": "^4.1.0",
"globals": "^11.1.0" "globals": "^11.1.0"
}, },
...@@ -275,9 +280,9 @@ ...@@ -275,9 +280,9 @@
} }
}, },
"node_modules/@babel/types": { "node_modules/@babel/types": {
"version": "7.22.10", "version": "7.22.11",
"resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.22.10.tgz", "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.22.11.tgz",
"integrity": "sha512-obaoigiLrlDZ7TUQln/8m4mSqIW2QFeOrCQc9r+xsaHGNoplVNYlRVpsfE8Vj35GEm2ZH4ZhrNYogs/3fj85kg==", "integrity": "sha512-siazHiGuZRz9aB9NpHy9GOs9xiQPKnMzgdr493iI1M67vRXpnEq8ZOOKzezC5q7zwuQ6sDhdSp4SD9ixKSqKZg==",
"dependencies": { "dependencies": {
"@babel/helper-string-parser": "^7.22.5", "@babel/helper-string-parser": "^7.22.5",
"@babel/helper-validator-identifier": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.5",
...@@ -376,6 +381,14 @@ ...@@ -376,6 +381,14 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/charenc": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
"integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==",
"engines": {
"node": "*"
}
},
"node_modules/color-convert": { "node_modules/color-convert": {
"version": "1.9.3", "version": "1.9.3",
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz", "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz",
...@@ -394,6 +407,14 @@ ...@@ -394,6 +407,14 @@
"resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz", "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz",
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
}, },
"node_modules/crypt": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
"integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==",
"engines": {
"node": "*"
}
},
"node_modules/debug": { "node_modules/debug": {
"version": "4.3.4", "version": "4.3.4",
"resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz",
...@@ -455,6 +476,11 @@ ...@@ -455,6 +476,11 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"node_modules/js-tokens": { "node_modules/js-tokens": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz",
...@@ -490,6 +516,16 @@ ...@@ -490,6 +516,16 @@
"yallist": "^3.0.2" "yallist": "^3.0.2"
} }
}, },
"node_modules/md5": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz",
"integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==",
"dependencies": {
"charenc": "0.0.2",
"crypt": "0.0.2",
"is-buffer": "~1.1.6"
}
},
"node_modules/ms": { "node_modules/ms": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz",
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@babel/core": "^7.22.10" "@babel/core": "^7.19.0",
"md5": "^2.3.0"
} }
} }
var data = [{
"t": "PX11590",
"d": {
"PX11431": 1692944411084,
"PX12330": "109|66|66|70|80", // ["webstore", 'runtime', 'app', "csi", "loadTimes"];构造函数 长度
"PX11705": 517, //fetch+''
"PX11938": true, //caches
"PX11602": true, //caches
"PX12021": "false", // webdriver
"PX12421": "false",//webdriver
"PX12124": 1,// 'webdriver' in navigator?1:0
"PX11609": 1, //'webdriver' in navigator?1:0
"PX12291": "",
"PX11881": ["loadTimes", "csi", "app"],// chrome 属性
"PX12207": 0, //v["self"] === v["top"] ? 0 : 1
"PX11538": 4, // history.length
"PX11984": "TypeError: Cannot read properties of null (reading '0')\n at xe (https://client.px-cloud.net/PXVb73hTEg/main.min.js:910:13)\n at Ea (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2196:30)\n at Ba (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2175:22)\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:2399:9",
"PX11645": "https:/www.flyfrontier.com/", // href
"PX11597": [],// location.ancestorOrigins
"PX12023": "",// document.referrer
"PX11337": false,// window.hasOwnProperty('onorientationchange')
"PX12544": true, // !(!window["WebAssembly"] || !window["WebAssembly"]["instantiate"])
"PX12589": "succeeded", // 执行 wasm 结果?
"PX11524": true, // wasm 计算结果
"PX11843": 1920, //screen["width"]
"PX11781": 1080,// screen["height"]
"PX12121": 1920,// screen["availWidth"
"PX12128": 1055,// screen["availHeight"]
"PX12387": "1920X1080",// F + "X" + N
"PX12003": 24, // screen["pixelDepth"]
"PX11380": 24, // screen["colorDepth"]
"PX11494": 658, // v["innerWidth"]
"PX12411": 853, // v["innerHeight"]
"PX12443": 0, // v["scrollX"]
"PX12447": 0, // v["scrollY"]
"PX11533": true, // !(0 === v["outerWidth"] && 0 === v["outerHeight"])
"PX12079": false,// v["hasOwnProperty"]("_cordovaNative") || v["hasOwnProperty"]("Ti") || v["hasOwnProperty"]("webView") || v["hasOwnProperty"]("Android") || p["hasOwnProperty"]("ondeviceready") || m["hasOwnProperty"]("standalone") || v["external"] && "notify" in v["external"] || m["userAgent"]["indexOf"](" Mobile/") > 0 && -1 === m["userAgent"]["indexOf"](" Safari/");
"PX12278": true,
"PX11694": false,
"PX12294": false,
"PX12514": true,
"PX12515": "TypeError: Cannot read properties of undefined (reading 'width')",
"PX12516": "webkit",
"PX12517": 33,
"PX12518": false,
"PX12545": false,
"PX12593": false,
"PX12595": "AudioData.SVGAnimatedAngle.SVGMetadataElement",
"PX12069": ["PDF Viewer", "Chrome PDF Viewer", "Chromium PDF Viewer", "Microsoft Edge PDF Viewer", "WebKit built-in PDF"],
"PX12286": 5,
"PX11576": true,
"PX12318": true,
"PX11384": true,
"PX11886": true,
"PX11583": "en-US",
"PX12458": "MacIntel",
"PX11681": ["en-US", "en", "zh-CN", "ru"],
"PX11754": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"PX12037": true,
"PX11390": -480,
"PX11621": 8,
"PX11657": 4,
"PX12081": "Gecko",
"PX11908": "20030107",
"PX12314": "5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"PX11829": true,
"PX11464": true,
"PX12054": 2,
"PX11821": "Netscape",
"PX11479": "Mozilla",
"PX11674": true,
"PX12241": 500,
"PX11372": false,
"PX11683": 1.5,
"PX11561": "3g",
"PX11877": true,
"PX12100": true,
"PX12506": "arm",
"PX12507": "64",
"PX12509": false,
"PX12510": "",
"PX12511": "macOS",
"PX12512": "13.5.0",// platformVersion
"PX12513": "115.0.5790.170", //Mu["uaFullVersion"]
"PX12548": true,
"PX12549": true,
"PX11539": "64556c77", //Me(console.log)
"PX11528": "", // Object["getOwnPropertyDescriptor"](HTMLDocument["prototype"], "cookie")["get"]
"PX12271": "10207b2f",// Va(Object["prototype"]["toString"])
"PX11849": "10207b2f",// return Va(m["toString"]);
"PX12464": "90e65465",// Me("" + (e["get"] || "") + (e["value"] || ""))
"PX11356": true,
"PX12426": true,
"PX11791": true,
"PX11517": true,
"PX12520": true,
"PX12524": "4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27", // Pu = speechSynthesis.getVoices() is(Pu[161].voiceURI)
"PX12527": "3207084bd110f1ac964863e23aa78e04", // '1970/1/1'
"PX12260": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"PX12249": false,
"PX11897": "90e65465", // 固定
"PX11701": "13064822615894407713",
"75602>44073>?2261175": "46531=77340=<1152246",
"PX12454": 4441,
"PX12597": 1,
"PX11529": 102721973,// usedJSHeapSize
"PX11555": 4294705152,// jsHeapSizeLimit
"PX11833": 122502277,// totalJSHeapSize
"PX11840": "Fri Aug 25 2023 14:20:11 GMT+0800 (中国标准时间)",
"PX11526": false,
"PX11684": false,
"PX11812": false,
"PX12335": true,
"PX12080": 0,
"PX11678": false,
"PX11349": "visible",
"PX12397": false,
"PX11387": 0,
"PX12150": 1920,
"PX12304": true,
"PX11651": 970,
"PX11867": "missing",
"PX12254": true,
"PX11540": true,
"PX11548": false,
"PX11446": true,
"PX12550": 1,
"PX12431": 0,
"PX11991": 10,
"PX11837": 32,
"PX11632": 0,
"PX11409": 9,
"PX12573": "e29b74b1",
"PX11508": "49e5084e",
"PX11452": "7c5f9724",
"PX12218": "65d826e0",
"PX12481": "a9269e00",
"PX11780": "50a5ec55",
"PX12588": "webkit",
"PX12551": "https:",
"PX12553": "Asia/Shanghai",
"PX12567": "w3c",
"PX12576": "screen",
"PX12594": false,
"PX12566": false,
"PX12571": "46ef8eb2", // allowedFeatures();
"PX12581": "default",
"PX12582": 3,
"PX12587": false,
"PX11303": false,
"PX11515": false,
"PX12133": false,
"PX12340": false,
"PX11738": false,
"PX11723": false,
"PX11389": false,
"PX11839": false,
"PX11460": false,
"PX12102": false,
"PX11378": false,
"PX12317": false,
"PX11804": "36f924a304c56d1ae9971c767ca7f510", //uuid 转换
"PX12118": "cjk4g6p0l92uaoruv300",// 第一步返回 0ll0ll
"PX11746": "4cd10383c35e63adbb6c4982d8fc63ff", //_pxvid
"PX11371": "dabf24bc8ba86bef39c3a20698ae7e02", // pxsid sessionStorage
"PX12501": "e5e8bc8df2602d2d3877dd2f83c1c044", // px_hvd localStorage
"PX12169": 2,
"PX11902": 1,
"PX11560": 19398,
"PX11332": 1692944411272,
"PX12248": 3600,
"PX11385": 1692944398418,
"PX12280": 1692944411981,
"PX11496": "6a6d1c10-430f-11ee-a838-3d4272821365",
"PX12564": null,
"PX12565": -1,
"PX11379": false
}
}]
\ No newline at end of file
...@@ -375,4 +375,85 @@ console.log(333,enc(aa, "e956bcd0-2d0b-11ee-a21c-431215775a7a")) ...@@ -375,4 +375,85 @@ console.log(333,enc(aa, "e956bcd0-2d0b-11ee-a21c-431215775a7a"))
// module.exports = { // module.exports = {
// getWords: getWords // getWords: getWords
// } // }
\ No newline at end of file t = {}
eval(`t.Ir = function(t,e){
function _r() {
var t = ["fetch", "250459zlMVoB", "toJSON", "314797wPgMbX", "csi", "dispatchToListener", "length", "install", "webdriver", "19310mguXvS", "indexOf", "runtime", "createElement", "protocol", "2696FDQYwO", "324HGENDQ", "loadTimes", "onInstallStageChanged", "http", "6Lrhxfe", "webstore", "cnVudGltZQ==", "timing", "Y2hyb21l", "4290zNWVho", "3771JHWUIa", "sendMessage", "YXBw", "795028sWWHtb", "153NYCMXB", "1082590zkQNux", "constructor", "6BnRIvI", "290192onzBLk", "performance"];
return (_r = function () {
return t;
})();
};!function (t, e) {
for (var v = Ir, p = t();;) try {
if (447112 === -parseInt(v(137)) / 1 * (-parseInt(v(168)) / 2) + -parseInt(v(161)) / 3 * (parseInt(v(150)) / 4) + parseInt(v(166)) / 5 * (parseInt(v(155)) / 6) + parseInt(v(139)) / 7 + -parseInt(v(134)) / 8 * (parseInt(v(165)) / 9) + -parseInt(v(145)) / 10 * (parseInt(v(160)) / 11) + parseInt(v(151)) / 12 * (parseInt(v(164)) / 13)) break;
p.push(p.shift());
} catch (t) {
p.push(p.shift());
}
}(_r);function Ir(t, e) {
var n = _r();
return (Ir = function (t, e) {
return n[t -= 134];
})(t, e);
}
return Ir(t,e)
}`)
console.log(t.Ir(135))
function Me(t) {
t = "" + t;
for (var e, n = 0, r = 0; r < t.length; r++) {
n = (n << 5) - n + t.charCodeAt(r), n |= 0;
}
return e = n, (e |= 0) < 0 && (e += 4294967296), e.toString(16);
}
console.log(Me(console.log))
var i = function () {
try {
if (atob && "test" === atob("dGVzdA==")) return atob;
} catch (t) {
}
function t(t) {
this.message = t;
}
t.prototype = new Error(), t.prototype.name = "InvalidCharacterError";
return function (e) {
var n = String(e).replace(/[=]+$/, "");
if (n.length % 4 == 1) throw new t("'atob' failed: The string to be decoded is not correctly encoded.");
for (var r, i, a = 0, o = 0, c = ""; i = n.charAt(o++); ~i && (r = a % 4 ? 64 * r + i : i, a++ % 4) ? c += String.fromCharCode(255 & r >> (-2 * a & 6)) : 0) i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);
return c;
};
}();
function oaa(n) {
for (var c = atob(n), u = "", l = 0; l < c.length; ++l) {
var s = "XsS5yUA".charCodeAt(l % 7);
console.log(l, s, c.charCodeAt(l), s ^ c.charCodeAt(l))
u += String.fromCharCode(s ^ c.charCodeAt(l));
}
console.log(u)
// console.log(atob(u))
return u
}
console.log('oaa',oaa("CCtiBE1idQ"))
function oaa2(n) {
for (var c = n, u = "", l = 0; l < c.length; ++l) {
var s = "XsS5yUA".charCodeAt(l % 7);
console.log(l, s ^ c.charCodeAt(l))
u += String.fromCharCode(s ^ c.charCodeAt(l));
}
console.log(u)
// console.log(atob(u))
console.log(btoa(u))
return u
}
console.log('oaa2',oaa2("PX12572"))
\ No newline at end of file
...@@ -51,7 +51,8 @@ a = 'aUkQRhAIEGJqAwMHBgUQHhBWEAhJEGJqAwAGCwAQCBBRBwIHUQMCVwAEUwNQBVMFBQYDBgEFVlA ...@@ -51,7 +51,8 @@ a = 'aUkQRhAIEGJqAwMHBgUQHhBWEAhJEGJqAwAGCwAQCBBRBwIHUQMCVwAEUwNQBVMFBQYDBgEFVlA
# print(e) # print(e)
a2 = "UAxQUAwMHD8QGFIcU1NQHAUZKlEpCg8JOTQHVC0KIg0tNCEULiQpUi4zUBgtNzYMLDQLGS0KKRQvJylSLiQICjk0C1AtNAwJKQkXCQQJKVYpDTUXLzQDGi40NgwsNDEZLgo1FC00Jgw6M1EILQoxUyw3Lg0uCggJLRopGi83KVAtGSkTKQ4xCS8KJVIvNClULhopGS0aNVUuCiETKQ0HCS8JKVIvJCYKOjc1Fy4aCA06CiYNLSQhUi4KIVEuNAQLLQ0lGi8nKVUvJDlRLQ0lUy03Mgs5NzlQOg01GS4kLgouDToJOiQqCi40AxgtGjVQOQ0tVC83JRgpDlBdHBQSFQUcU1BQHh4eHlBQUFBQUBwDFQ==" a2 = "UAxQUAwMHD8QGFIcU1NQHAUZKlEpCg8JOTQHVC0KIg0tNCEULiQpUi4zUBgtNzYMLDQLGS0KKRQvJylSLiQICjk0C1AtNAwJKQkXCQQJKVYpDTUXLzQDGi40NgwsNDEZLgo1FC00Jgw6M1EILQoxUyw3Lg0uCggJLRopGi83KVAtGSkTKQ4xCS8KJVIvNClULhopGS0aNVUuCiETKQ0HCS8JKVIvJCYKOjc1Fy4aCA06CiYNLSQhUi4KIVEuNAQLLQ0lGi8nKVUvJDlRLQ0lUy03Mgs5NzlQOg01GS4kLgouDToJOiQqCi40AxgtGjVQOQ0tVC83JRgpDlBdHBQSFQUcU1BQHh4eHlBQUFBQUBwDFQ=="
a2 = "UAxQUFBQHFJXUlQEWFNXUVlSUVVUUVgFAgYCVwMEVlFUWFcFUgFXWVRSU1dVBlIFBgZXAwEEA1YGUgZQBFhRUlECAwRVAlgeHh4eUAxQDAwMHAMDHFZQHDVSJhQ6Ni4QBCc1WTQnJlQvF11dHh4eHlAMDFAMDBwDCgoJDlcHWBEIEA4MEBUCDwkJBx4eHh5QUFBQUFAcAxUeHh4eUFBQDAxQHAVQWVdUVgFWTVRSVlVNUVEFBU0BUlRXTVdQV1BWV1ZSVFJXVh4eHh5QDAwMDFBQUBxVVVZXHh4eHgxQUFAMUBwFUFlXU1VVBU1UUlZVTVFRBQVNAVJUV00DBlZYAlNSU1kCVFMcU1FVU1ZQUFAcFBIVBR4eHh5QDAwMDFBQDBxRVllSWFdRVVhSUlVTHh4eHlAMDAxQDFBQHAVQWVdUBFkGTVRSVlVNUVEFBU0BUlRXTVdQV1BWV1ZSVFJXVhwUEhUFHh4eHgwMUAwMUBxWWFdWWFZRVVhYUlRSUFdVWVlSVg==" a2 = 'DAxQDAxQHFlXU1JYWFNSVVFWVFRVVVZZUFhZHh4eHlAMDFAMDBwDCgtWUhEJDhFSDBUBDxIDAwZSBx4eHh5QDAwMDFBQUBxTUFFUHh4eHlAMUFBQUBwEBFRWV1lUBFIBUVBUAlRSBFUGVlJSVFIGUVJQVwVTVVECVgVSUwYDAVAGWVAEVFgGVFhSUAMBVVVXBFVXV1YBHh4eHlAMUAwMDBwDAxxWUBw1UiYUOjYuEAQnNVk0JyZULxddXR4eHh5QUFBQUFAcAxUeHh4eUAwMDAxQUAwcUVZZUllVUFhZUFNTVA=='
b2 = base64.b64decode(a2.encode()) b2 = base64.b64decode(a2.encode())
for i in bytes(encrypt(b2, 96)).decode().split('~~~~'): for i in bytes(encrypt(b2, 96)).decode().split('~~~~'):
print(i) print(i)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment