Commit 48909dae authored by wang's avatar wang

更换环境

parent f332536e
......@@ -12,6 +12,7 @@
"acorn": "^8.10.0",
"body-parser": "^1.20.2",
"crypto-js": "^4.2.0",
"express": "^4.18.2",
"md5": "^2.3.0"
},
"devDependencies": {
......@@ -368,6 +369,18 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/accepts": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
"dependencies": {
"mime-types": "~2.1.34",
"negotiator": "0.6.3"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/acorn": {
"version": "8.10.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz",
......@@ -391,6 +404,11 @@
"node": ">=4"
}
},
"node_modules/array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
},
"node_modules/body-parser": {
"version": "1.20.2",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz",
......@@ -509,6 +527,17 @@
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"node_modules/content-disposition": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
"integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
"dependencies": {
"safe-buffer": "5.2.1"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/content-type": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
......@@ -523,6 +552,19 @@
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
"dev": true
},
"node_modules/cookie": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
"integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
},
"node_modules/crypt": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
......@@ -594,6 +636,14 @@
"integrity": "sha512-P38NO8eOuWOKY1sQk5yE0crNtrjgjJj6r3NrbIKtG18KzCHmHE2Bt+aQA7/y0w3uYsHWxDa6icOohzjLJ4vJ4A==",
"dev": true
},
"node_modules/encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz",
......@@ -603,6 +653,11 @@
"node": ">=6"
}
},
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
},
"node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
......@@ -612,6 +667,151 @@
"node": ">=0.8.0"
}
},
"node_modules/etag": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
"integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/express": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
"integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==",
"dependencies": {
"accepts": "~1.3.8",
"array-flatten": "1.1.1",
"body-parser": "1.20.1",
"content-disposition": "0.5.4",
"content-type": "~1.0.4",
"cookie": "0.5.0",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "2.0.0",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"finalhandler": "1.2.0",
"fresh": "0.5.2",
"http-errors": "2.0.0",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "2.4.1",
"parseurl": "~1.3.3",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.7",
"qs": "6.11.0",
"range-parser": "~1.2.1",
"safe-buffer": "5.2.1",
"send": "0.18.0",
"serve-static": "1.15.0",
"setprototypeof": "1.2.0",
"statuses": "2.0.1",
"type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"engines": {
"node": ">= 0.10.0"
}
},
"node_modules/express/node_modules/body-parser": {
"version": "1.20.1",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
"integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==",
"dependencies": {
"bytes": "3.1.2",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "2.0.0",
"destroy": "1.2.0",
"http-errors": "2.0.0",
"iconv-lite": "0.4.24",
"on-finished": "2.4.1",
"qs": "6.11.0",
"raw-body": "2.5.1",
"type-is": "~1.6.18",
"unpipe": "1.0.0"
},
"engines": {
"node": ">= 0.8",
"npm": "1.2.8000 || >= 1.4.16"
}
},
"node_modules/express/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/express/node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
},
"node_modules/express/node_modules/raw-body": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
"integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
"dependencies": {
"bytes": "3.1.2",
"http-errors": "2.0.0",
"iconv-lite": "0.4.24",
"unpipe": "1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/finalhandler": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
"integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
"dependencies": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "2.4.1",
"parseurl": "~1.3.3",
"statuses": "2.0.1",
"unpipe": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/finalhandler/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/finalhandler/node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
},
"node_modules/forwarded": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
"integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/function-bind": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
......@@ -747,6 +947,14 @@
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/ipaddr.js": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
"engines": {
"node": ">= 0.10"
}
},
"node_modules/is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
......@@ -809,6 +1017,30 @@
"node": ">= 0.6"
}
},
"node_modules/merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
"integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
},
"node_modules/methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
"bin": {
"mime": "cli.js"
},
"engines": {
"node": ">=4"
}
},
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
......@@ -834,6 +1066,14 @@
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true
},
"node_modules/negotiator": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
"integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/node-releases": {
"version": "2.0.13",
"resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.13.tgz",
......@@ -859,12 +1099,37 @@
"node": ">= 0.8"
}
},
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
"integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
},
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"dev": true
},
"node_modules/proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
"integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
"dependencies": {
"forwarded": "0.2.0",
"ipaddr.js": "1.9.1"
},
"engines": {
"node": ">= 0.10"
}
},
"node_modules/qs": {
"version": "6.11.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
......@@ -879,6 +1144,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/raw-body": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
......@@ -893,6 +1166,25 @@
"node": ">= 0.8"
}
},
"node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
},
"node_modules/safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
......@@ -907,6 +1199,61 @@
"semver": "bin/semver.js"
}
},
"node_modules/send": {
"version": "0.18.0",
"resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
"integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
"dependencies": {
"debug": "2.6.9",
"depd": "2.0.0",
"destroy": "1.2.0",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
"http-errors": "2.0.0",
"mime": "1.6.0",
"ms": "2.1.3",
"on-finished": "2.4.1",
"range-parser": "~1.2.1",
"statuses": "2.0.1"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/send/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/send/node_modules/debug/node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
},
"node_modules/send/node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
},
"node_modules/serve-static": {
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
"integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
"dependencies": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.3",
"send": "0.18.0"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/set-function-length": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
......@@ -1012,6 +1359,22 @@
"browserslist": ">= 4.21.0"
}
},
"node_modules/utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
"engines": {
"node": ">= 0.4.0"
}
},
"node_modules/vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
"integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz",
......
......@@ -12,6 +12,7 @@
"acorn": "^8.10.0",
"body-parser": "^1.20.2",
"crypto-js": "^4.2.0",
"express": "^4.18.2",
"md5": "^2.3.0"
},
"devDependencies": {
......
......@@ -152,14 +152,33 @@ module.exports = {
N: N,
D: D
}
let t = '[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":31629,"PX12248":3600,"PX11385":1698822700332,"PX12280":1698822700336,"PX11496":"b8a39670-7866-11ee-9655-63a4f05cd5d1","PX12564":null,"PX12565":-1,"PX11379":false}}]'
var t1 = '[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":31629,"PX12248":3600,"PX11385":1698822700332,"PX12280":1698822700336,"PX11496":"b8a39670-7866-11ee-9655-63a4f05cd5d1","PX12564":null,"PX12565":-1,"PX11379":false}}]'
t = `[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":36377,"PX12248":0,"PX11385":1698919311053,"PX12280":1698919311054,"PX11496":"b34a66a6-bfb5-40bb-9437-21ef917b8d0e","PX12564":null,"PX12565":-1,"PX11379":false}}]`
t = '[{"t":"PX12095","d":{"PX11645":"https://www.spirit.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":2352,"PX12248":3600,"PX11385":1700019122060,"PX12280":1700019122064,"PX11496":"8a5265b0-8367-11ee-9a58-bd42f5c10ff9","PX12564":null,"PX12565":-1,"PX11379":true}}]'
t = `{"t":"PX12095","d":{"PX11645":"https://www.spirit.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":3357,"PX12248":3600,"PX11385":1700033523406,"PX12280":1700033523413,"PX11496":"123140c0-8389-11ee-8cbe-01c648c2e436","PX12564":null,"PX12565":-1}}`
let e = 'b34a66a6-bfb5-40bb-9437-21ef917b8d0e:v8.7.2:317'
e = '123140c0-8389-11ee-8cbe-01c648c2e436:v8.7.2:317'
t = `[{"t":"PX11590","d":{"PX11431":1701245810476,"PX12454":3712,"PX11701":"12041226300204313737","PX11529":26578564,"PX11555":4294705152,"PX11833":38032282,"PX11840":"Wed Nov 29 2023 16:16:50 GMT+0800 (中国标准时间)","PX12573":"b2fba212","PX11804":"9c15fb2b9e24bc3b1d1c4d6a1e8fda92","PX12118":"cljf6smh6vji0152h2jg","PX11746":"f556480249d5c540d7866c9ef16dc697","PX11371":"b5f37aa17c2d5d9cb7875cfdeb5f898f","PX12501":"b478cfaeb3a830068188356dd837f1b7","PX12169":1,"PX11902":1,"PX11560":8757,"PX11332":1701245809872,"PX12248":3600,"PX11385":1701245809633,"PX12280":1701245816025,"PX11496":"a51ca710-8e8f-11ee-991d-cf2a28e811cd","PX12588":"unknown","PX12555":{"plugext":{"0":{"f":"internal-pdf-viewer","n":"PDF Viewer"},"1":{"f":"internal-pdf-viewer","n":"Chrome PDF Viewer"},"2":{"f":"internal-pdf-viewer","n":"Chromium PDF Viewer"},"3":{"f":"internal-pdf-viewer","n":"Microsoft Edge PDF Viewer"},"4":{"f":"internal-pdf-viewer","n":"WebKit built-in PDF"}},"plugins_len":5},"PX12583":{"smd":{"ok":true,"ex":false}},"PX12582":3,"PX12587":false,"PX12330":"109|66|66|70|80","PX11705":111,"PX11938":true,"PX11602":true,"PX12021":"false","PX12421":"false","PX12124":1,"PX11609":1,"PX12291":"","PX11881":["app","csi","loadTimes"],"PX12207":0,"PX11538":2,"PX11984":"TypeError: Cannot read properties of None (reading '0')\\n at he (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1136:13)\\n at Zo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:3320:22)\\n at Eo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2892:23)\\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:3265:9","PX11645":"https://www.flyfrontier.com/","PX11597":[],"PX12023":"","PX11337":false,"PX12544":true,"PX12589":"succeeded","PX11524":true,"PX11843":1920,"PX11781":1080,"PX12121":1920,"PX12128":1055,"PX12387":"1920X1080","PX12003":24,"PX11380":24,"PX11494":906,"PX12411":853,"PX12443":0,"PX12447":0,"PX11533":true,"PX12079":false,"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":["Chrome PDF Viewer","Chromium PDF Viewer","Microsoft Edge PDF Viewer","PDF Viewer","WebKit built-in PDF"],"PX12286":5,"PX11576":true,"PX12318":true,"PX11384":true,"PX11886":true,"PX11583":"en-US","PX12458":"MacIntel","PX11681":["en-US"],"PX11754":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12037":true,"PX11390":-480,"PX11621":8,"PX11657":1,"PX12081":"Gecko","PX11908":"20030107","PX12314":"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX11829":true,"PX11464":true,"PX12054":2,"PX11821":"Netscape","PX11479":"Mozilla","PX11674":true,"PX12241":400,"PX11372":false,"PX11683":1.5,"PX11561":"3g","PX11877":true,"PX12100":true,"PX12506":"arm","PX12507":"64","PX12509":false,"PX12510":"","PX12511":"macOS","PX12512":"13.5.0","PX12513":"117.0.5938.149","PX12548":true,"PX12578":{},"PX12579":{"support":true,"status":{"effectiveType":"3g","rtt":400,"downlink":1.5,"saveData":false}},"PX12508":[{"brand":"Google Chrome","version":"117"},{"brand":"Not;A=Brand","version":"8"},{"brand":"Chromium","version":"117"}],"PX12549":true,"PX11539":"831efc5e","PX11528":"","PX12271":"10207b2f","PX11849":"10207b2f","PX12464":"90e65465","PX11356":true,"PX12426":true,"PX11791":true,"PX11517":true,"PX12520":true,"PX12524":"4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27","PX12527":"3207084bd110f1ac964863e23aa78e04","PX12260":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12249":false,"PX11897":"90e65465","PX12597":1,"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":34,"PX11632":0,"PX11409":9,"PX11508":"49e5084e","PX11452":"7c5f9724","PX12218":"65d826e0","PX12481":"a9269e00","PX11780":"50a5ec55","PX12551":"https:","PX12553":"Asia/Shanghai","PX12567":"w3c","PX12576":"screen","PX12594":false,"PX12566":false,"PX12571":"74d9c66","PX12581":"default","PX11303":false,"PX11515":false,"PX12133":false,"PX12340":false,"PX11738":false,"PX11723":false,"PX11389":false,"PX11839":false,"PX11460":false,"PX12102":false,"PX11378":false,"PX12317":false,"PX12564":null,"PX12565":-1,"9:8<9::>;88:8<;9;?;?":"65736551477573464040"}}]`
t1 = `[{"t":"PX11590","d":{"PX11431":1701249549400,"PX12454":7642,"PX11701":"24320347003299263424","PX11529":26084726,"PX11555":4294705152,"PX11833":39438887,"PX11840":"Wed Nov 29 2023 17:19:09 GMT+0800 (Coordinated Universal Time)","PX12573":"89a09b78","PX11804":"193f4873b928219d60d5befc1bb459b3","PX12118":"cljg43eh6vji015gu130","PX11746":"af6314ead382c91737223aaab1d45d31","PX11371":"0921f68e3b5fd1d876b586a907cdcd36","PX12501":"ec11d37b7e9082a67a0a3f4491bb8f74","PX12169":1,"PX11902":1,"PX11560":9148,"PX11332":1701249548883,"PX12248":3600,"PX11385":1701249548660,"PX12280":1701249555640,"PX11496":"59be9720-8e98-11ee-85bc-e7d0a2411331","PX12588":"unknown","PX12555":{"plugext":{"0":{"f":"internal-pdf-viewer","n":"PDF Viewer"},"1":{"f":"internal-pdf-viewer","n":"Chrome PDF Viewer"},"2":{"f":"internal-pdf-viewer","n":"Chromium PDF Viewer"},"3":{"f":"internal-pdf-viewer","n":"Microsoft Edge PDF Viewer"},"4":{"f":"internal-pdf-viewer","n":"WebKit built-in PDF"}},"plugins_len":5},"PX12583":{"smd":{"ok":true,"ex":false}},"PX12582":3,"PX12587":false,"PX12330":"109|66|66|70|80","PX11705":111,"PX11938":true,"PX11602":true,"PX12021":"false","PX12421":"false","PX12124":1,"PX11609":1,"PX12291":"","PX11881":["app","csi","loadTimes"],"PX12207":0,"PX11538":2,"PX11984":"TypeError: Cannot read properties of None (reading '0')\\n at he (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1136:13)\\n at Zo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:3320:22)\\n at Eo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2892:23)\\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:3265:9","PX11645":"https://www.flyfrontier.com/","PX11597":[],"PX12023":"","PX11337":false,"PX12544":true,"PX12589":"succeeded","PX11524":true,"PX11843":1920,"PX11781":1080,"PX12121":1920,"PX12128":1055,"PX12387":"1920X1080","PX12003":24,"PX11380":24,"PX11494":906,"PX12411":853,"PX12443":0,"PX12447":0,"PX11533":true,"PX12079":false,"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":["Chrome PDF Viewer","Chromium PDF Viewer","Microsoft Edge PDF Viewer","PDF Viewer","WebKit built-in PDF"],"PX12286":5,"PX11576":true,"PX12318":true,"PX11384":true,"PX11886":true,"PX11583":"en-US","PX12458":"MacIntel","PX11681":["en-US"],"PX11754":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12037":true,"PX11390":-480,"PX11621":8,"PX11657":1,"PX12081":"Gecko","PX11908":"20030107","PX12314":"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX11829":true,"PX11464":true,"PX12054":2,"PX11821":"Netscape","PX11479":"Mozilla","PX11674":true,"PX12241":400,"PX11372":false,"PX11683":1.5,"PX11561":"3g","PX11877":true,"PX12100":true,"PX12506":"arm","PX12507":"64","PX12509":false,"PX12510":"","PX12511":"macOS","PX12512":"13.5.0","PX12513":"117.0.5938.149","PX12548":true,"PX12578":{},"PX12579":{"support":true,"status":{"effectiveType":"3g","rtt":400,"downlink":1.5,"saveData":false}},"PX12508":[{"brand":"Google Chrome","version":"117"},{"brand":"Not;A=Brand","version":"8"},{"brand":"Chromium","version":"117"}],"PX12549":true,"PX11539":"831efc5e","PX11528":"","PX12271":"10207b2f","PX11849":"10207b2f","PX12464":"90e65465","PX11356":true,"PX12426":true,"PX11791":true,"PX11517":true,"PX12520":true,"PX12524":"4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27","PX12527":"3207084bd110f1ac964863e23aa78e04","PX12260":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12249":false,"PX11897":"90e65465","PX12597":1,"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":34,"PX11632":0,"PX11409":9,"PX11508":"49e5084e","PX11452":"7c5f9724","PX12218":"65d826e0","PX12481":"a9269e00","PX11780":"50a5ec55","PX12551":"https:","PX12553":"Asia/Shanghai","PX12567":"w3c","PX12576":"screen","PX12594":false,"PX12566":false,"PX12571":"74d9c66","PX12581":"default","PX11303":false,"PX11515":false,"PX12133":false,"PX12340":false,"PX11738":false,"PX11723":false,"PX11389":false,"PX11839":false,"PX11460":false,"PX12102":false,"PX11378":false,"PX12317":false,"PX12564":null,"PX12565":-1,"061021652210;;041606":"35231256112388372535"}}]`
var e1 = 'b34a66a6-bfb5-40bb-9437-21ef917b8d0e:v8.7.2:317'
e1 = '59be9720-8e98-11ee-85bc-e7d0a2411331:v8.7.2:317'
function genPc(t,e){
return genPC2(genPC1(N(D(e, t))))
}
console.log(genPc(e,t))
\ No newline at end of file
console.log(genPc(e1,t1))
// const express = require('express')
// const app = express()
// const port = 3001
// const bodyParser = require('body-parser');
// app.use(bodyParser.urlencoded({extended: false}));
// app.use(bodyParser.json());
// app.post('/', (req, res) => {
// console.log(req.body);
// let e = req.body.e;
// let t = req.body.t;
// res.send(genPc(e,t))
//
// })
//
// app.listen(port, () => {
// console.log(`Example app listening on port ${port}`)
// })
\ No newline at end of file
......@@ -70,7 +70,7 @@ def randomFloat(a, b):
class PxEnv():
def __init__(self, url, sid, vid, ts, num1, num2, str1, uuid, startTs, startTs2, performanceNow, px11280):
def __init__(self,env, url, sid, vid, ts, num1, num2, str1, uuid, startTs, startTs2, performanceNow, px11280):
self.ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36';
# 初始化参数
......@@ -476,7 +476,9 @@ class PxEnv():
if __name__ == '__main__':
a2 = "B1kHB1kHFF4JX1kODVAKRVBQXF1FWVkNDUUKXVpfRQteDVFRDFhcXF8MWBRbWV1bXlhYWBQcGh0NFhYWFllZWQcHWRQLCxReWBQ9Wi4cMj4mGAwvPVE8Ly5cJx9VVRYWFhYHWVlZBwcHWRRZX1hYXV1cWlpZXVpdFhYWFllZB1lZWRQMWw5bX19fCQldXlALWw1eUFoJX1kOX1tbUQ4JXwwJXgpYX1wMXApQDVwLXQsKDFtQDVpfXl4LCllRXAtQWlpcFhYWFgdZWQdZWQcHFF4JX1pYCloORVBQXF1FWVkNDUUKXVpQRQ5fCl8ODA5ZDFwOWxQcGh0NFhYWFlkHBwcHWRQLBA1eChpRXA9eBgFYWVoDXAAAWBYWFhYHWVkHWVkUXglfWlhQXFBFUFBcXUVZWQ0NRQpdWlBFDl8KXw4MDlkMXA5bFhYWFgdZB1lZWRQLHRYWFhZZWVkHWQcUWVBYXF9QWlhfW11bXF1dWFhbWlwWFhYWB1lZWQcHBwcUWV1ZWw=="
a2 = "B1lZWQcHB1kUWV9YWVpcWFBbWFFaXxYWFhZZBwcHB1kUCwQCDB4eDw8eAFkBWFlaWRwOBVgWFhYWWVkHWVlZFF8NUAlZDlsLDQteW1lbXwsODQoLUVlQCllaDQ0NDV9eX1sJUVgJXw4KW1heDA5eWQoNWwlcDFFdWwxbCV1YWgoWFhYWB1lZB1lZFFgMUFBRDF4ORVANUFxFWVkNDUUKUQpYRQtRXV1ZDFBYCg1QChYWFhYHWVlZBwcHBxRRWVlZFhYWFllZWQdZBxRaW19aXlBfW1pYWV9bXltdW1xdWhYWFhYHWQcHWQcUWAxQUFFbDAlFUA1QXEVZWQ0NRQpRClhFW1sLXlFcXFFcDQsOFFtZXVteWFhYFBwaHQ0WFhYWB1lZB1lZBwcUWAxQUAlYCgtFUA1QXEVZWQ0NRQpRClhFC1FdXVkMUFgKDVAKFBwaHQ0WFhYWWVlZBwdZFAsLFF5YFD1aLhwyPiYYDC89UTwvLlwnH1VVFhYWFgdZB1lZWRQLHQ=="
b2 = base64.b64decode(a2.encode())
for i in bytes(encrypt(b2, 872 % 128)).decode().split('~~~~'):
......@@ -500,10 +502,10 @@ if __name__ == '__main__':
cs = tmp[1]
if tmp[0] == 'o11o11oo':
cts = tmp[1]
uuid = '31fafcb0-8844-11ee-8d49-97ed9bc8f96f'
px = PxEnv('https://www.flyfrontier.com/',
uuid = '0d53ff60-8e84-11ee-ad85-6fc12b956b48'
px = PxEnv('','https://www.flyfrontier.com/',
sid, vid, ts, num1, num2, str1, uuid
, 1700552863875, 1700464712550
, 1700552863903, 1700552863903)
print(px.get_px11590())
print(json.dumps(px.get_px11547(), separators=(',', ':'),ensure_ascii=False))
......@@ -4830,7 +4830,7 @@ class PxEnv():
"PX11529": self.memory_data.get('usedJSHeapSize'),
"PX11555": self.memory_data.get('jsHeapSizeLimit'),
"PX11833": self.memory_data.get('totalJSHeapSize'),
"PX11840": datetime.now().strftime('%a %b %d %Y %H:%M:%S GMT+0800 (中国标准时间)'),
"PX11840": datetime.now().strftime('%a %b %d %Y %H:%M:%S GMT+0800 (Coordinated Universal Time)'),
"PX12573": self.getPX12573(math.floor(int(self.ts) / 1e3), self.vid, self.uuid),
"PX11804": self.createPX2(self.ua, self.uuid),
"PX12118": self.str1,
......@@ -4839,7 +4839,7 @@ class PxEnv():
"PX12501": self.md5(self.vid),
"PX12169": 1, "PX11902": 1,
"PX11560": self.performanceNow + randomInt(1000, 2500),
"PX11332": self.startTs + randomInt(1000, 2500),
"PX11332": self.startTs + randomInt(220, 250),
"PX12248": 3600,
"PX11385": self.startTs,
"PX12280": self.px11280,
......@@ -4936,14 +4936,14 @@ class PxEnv():
"status": {"effectiveType": "3g", "rtt": 400, "downlink": 1.5, "saveData": False}},
"PX12508": [{"brand": "Google Chrome", "version": "117"}, {"brand": "Not;A=Brand", "version": "8"},
{"brand": "Chromium", "version": "117"}], "PX12549": True,
"PX11539": "64556c77",
"PX11539": "831efc5e",
"PX11528": "", "PX12271": "10207b2f", "PX11849": "10207b2f", "PX12464": "90e65465",
"PX11356": True,
"PX12426": True, "PX11791": True, "PX11517": True, "PX12520": True,
"PX12524": "4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27",
"PX12527": "3207084bd110f1ac964863e23aa78e04",
"PX12260": self.ua,
"PX12249": False, "PX11897": "90e65465", "PX12597": 2, "PX11526": False, "PX11684": False,
"PX12249": False, "PX11897": "90e65465", "PX12597": 1, "PX11526": False, "PX11684": False,
"PX11812": False, "PX12335": True, "PX12080": 0, "PX11678": False, "PX11349": "visible",
"PX12397": False, "PX11387": 0,
"PX12150": self.window.outerwidth, # v["outerWidth"],
......@@ -4951,7 +4951,7 @@ class PxEnv():
"PX11651": self.window.outerheight, # v["outerHeight"],
"PX11867": "missing",
"PX12254": False, "PX11540": True, "PX11548": False, "PX11446": True, "PX12550": 1, "PX12431": 0,
"PX12254": True, "PX11540": True, "PX11548": False, "PX11446": True, "PX12550": 1, "PX12431": 0,
"PX11991": 10, "PX11837": 34, "PX11632": 0, "PX11409": 9, "PX11508": "49e5084e",
"PX11452": "7c5f9724",
"PX12218": "65d826e0", "PX12481": "a9269e00", "PX11780": "50a5ec55", "PX12551": "https:",
......@@ -5267,7 +5267,7 @@ class PxEnv():
"PX11621": 8,
"PX11390": -480,
"PX11678": False,
"PX11840": datetime.now().strftime('%a %b %d %Y %H:%M:%S GMT+0800 (中国标准时间)'),
"PX11840": datetime.now().strftime('%a %b %d %Y %H:%M:%S GMT+0800 (Coordinated Universal Time)'),
"PX11540": True,
"PX11539": "64556c77",
"PX11555": 4294705152,
......@@ -5559,7 +5559,7 @@ class PxEnv():
if __name__ == '__main__':
a2 = "WVkHWVlZFFBZUV5eWAtQWFtbW1gLWl5fXQ1cCwoNWl1bClkOXV5RUVgKWFoNC1wMXl1cUVtaXgtYW1EMUQxZClxcDltZCV8WFhYWB1lZWQcHB1kUWV9YWVleXFlZX15eWRYWFhYHWVlZBwcHBxRdWVhQFhYWFgdZB1lZWRQLHRYWFhZZWVkHWQcUWV9QUFhfXlpeXF5YWVteW1paXVEWFhYWB1lZB1lZBwcUX1gMCVAKC1lFUAwMWUVZWQ0NRQpfCQtFXF0JDQpfCVxbCQtfFBwaHQ0WFhYWWVlZBwdZFAsLFF5YFD1aLhwyPiYYDC89UTwvLlwnH1VVFhYWFgdZBwdZBxRfWAwJX1FdXEVQDAxZRVlZDQ1FCl8JC0ULW10LDlpRDFkJDQsUW1ldW15YWFgUHBodDRYWFhZZBwcHB1kUCwQBGlAEDloaXA9aWFlbUFwAGQ8WFhYWB1lZB1lZFF9YDAlQXlBbRVAMDFlFWVkNDUUKXwkLRVxdCQ0KXwlcWwkLXw=="
a2 ="WVlZBwdZFAsLFF5YFD1aLhwyPiYYDC89UTwvLlwnH1VVFhYWFgdZWVkHBwcHFFpfXlAWFhYWWQcHBwdZFAsEAg0ZXQYYUVwYWlhZWBgJCgJYFhYWFllZB1lZWRQMDVFRXAsNDgtfDlhfUFxQC1xeUF1cCglYDVAKX1BYUVFcXApYUFkKUVFYXl5eUFFRWgwLWV1aW15YXwxRW1hcFhYWFgdZWQdZWRQMCltZWlFaDEVQDVAKRVlZDQ1FUFsMDEUJDVsMDl9fDVEJDVkWFhYWWVlZB1kHFFldWllZUFFZXFxdWFBeWF1ZWFlaFhYWFgdZBwdZBxQMCltZWQ4LDEVQDVAKRVlZDQ1FUFsMDEUKDlBcDgkNX1laWVgUW1ldW15YWFgUHBodDRYWFhYHWQdZWVkUCx0WFhYWB1lZWQcHB1kUWV9YWVpcXFlQWlxZWRYWFhYHWVkHWVkHBxQMCltZWgtfXkVQDVAKRVlZDQ1FUFsMDEUJDVsMDl9fDVEJDVkUHBodDQ=="
b2 = base64.b64decode(a2.encode())
px755 = ''
token = ''
......@@ -5597,7 +5597,7 @@ if __name__ == '__main__':
cs = tmp[1]
if tmp[0] == 'o11o11oo':
cts = tmp[1]
uuid = '70b33ca0-8dd1-11ee-86b1-4920b9868ec8'
uuid = 'd9f31950-8e8b-11ee-9957-9b29c1f35c6b'
px = PxEnv('','https://www.flyfrontier.com/',
sid, vid, ts, num1, num2, str1, uuid
......@@ -5605,4 +5605,4 @@ if __name__ == '__main__':
, 1700552863903, 1700552863903, px755=px755, token=token, token2=token2, hash=hash, hash2=hash2,
hashv=hashv)
# print(json.dumps(px.get_px561()))
print(json.dumps([px.get_px11547()]))
print(json.dumps([px.get_px11590()]))
......@@ -6,7 +6,7 @@ import json
import random
import time
import traceback
from urllib.parse import urlencode
from urllib.parse import urlencode, quote
import execjs
import requests
......@@ -14,13 +14,87 @@ import tls_client
from loguru import logger
from env_captcha import PxEnv
from utils import PxUtils
ctx = execjs.compile('''const Ev = (t, e, n) => {
var r = ie(encode(n), 10), o = [], a = -1;
for (var i = 0; i < t.length; i++) {
var l = Math.floor(i / r.length + 1)
var c = i >= r.length ? i % r.length : i
var u = r.charCodeAt(c) * r.charCodeAt(l)
// console.log(i, l, c, u)
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)
// console.log(f, s, d, p, p > e, wv(p, 0, a, 0, e-1))
p >= e && (p = wv(p, 0, a, 0, e - 1));
for (; -1 !== o.indexOf(p);) {
p += 1
}
// console.log('add', p)
o.push(p)
}
return o.sort(function (t, e) {
return t - e
})
}
const encode = (t) => {
return btoa(encodeURIComponent(t).replaceAll(/%([0-9A-F]{2})/g, function (t, e) {
// console.log(t, e, '0x' + e)
return String.fromCharCode("0x" + e);
}))
}
const ie = (t, e) => {
for (var n = '', r = 0; r < t.length; r++)
// console.log(e, t.charCodeAt(r), e ^ t.charCodeAt(r), String.fromCharCode(e ^ t.charCodeAt(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) => {
// console.log('t', t)
// console.log('e', e)
// console.log('n', n)
var r = '', o = 0, a = t.split('')
for (var i = 0; i < t.length; i++) {
// console.log(i,o,n[i], n[i] - i - 1, e.substring(o, n[i] - i - 1), a[i], e.substring(o, n[i] - i - 1)+a[i])
// console.log(i, o, n[i] - i - 1, n[i] - i - 1 - o)
r += e.substring(o, n[i] - i - 1)
+ a[i]
// console.log(e.substring(o, n[i] - i - 1))
// console.log(r.length, r)
o = n[i] - i - 1
// console.log('iii',i,r)
// console.log()
}
# with open('js/encodepayload.js', 'r', encoding='utf-8') as f:
# jsCode = f.read()
# # ctx = execjs.compile(jsCode)
# # ctxPC = execjs.compile(open('pc.js').read())
console.log(e.substring(o))
return (r += e.substring(o))
}
function encodePayload(payload, uuid, sts) {
var sts = sts.length === 0 ? '1604064986000' : sts
let t1 = ie(payload, 50);
const BasePayload = encode(t1)
console.log(BasePayload)
const fv = ie(encode(sts), 10)
let t3 = Ev(fv, BasePayload.length, uuid);
console.log(t3+''
)
return Fa(fv, BasePayload, t3)
}''')
ctxPC = execjs.compile(open('pc.js').read())
ctxStep2 = execjs.compile('''
const crypto = require('crypto');
function genUuid(t, e, n, r) {
......@@ -113,7 +187,6 @@ class PxBypass():
ft = "317"
appId = "PXVb73hTEg"
def __init__(self, target_url):
self.cookies = {}
self.log = logger.bind(module_name='px')
......@@ -154,10 +227,10 @@ class PxBypass():
# }
prox = 'http://b6b6b6b6-zone-custom-region-us-session-130oj36t4-sessTime-5:bpoMDFG5oD@na.ipidea.io:2333'
prox = f'http://user-uni001-region-us-sessid-{random.randint(1000,5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
prox = f'http://user-uni001-region-us-sessid-{random.randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
# prox = 'http://127.0.0.1:8890'
prox = 'http://127.0.0.1:8890'
self.session.proxies = {
'http': prox,
'https': prox,
......@@ -165,8 +238,8 @@ class PxBypass():
self.prox = prox
self.log.info(f'proxy: {self.prox}')
self.tlsUrl = 'http://52.52.23.116/tls/forward'
# self.tlsUrl = 'http://127.0.0.1:58000/tls/forward'
# self.tlsUrl = 'http://52.52.23.116/tls/forward'
self.tlsUrl = 'http://127.0.0.1:58000/tls/forward'
def inc(self):
self.seq += 1
......@@ -175,13 +248,13 @@ class PxBypass():
def do_collector(self, data):
if isinstance(data, list):
data_str = json.dumps(data, separators=(',', ':'))
data_str = json.dumps(data, separators=(',', ':'), ensure_ascii=True)
else:
data_str = data
self.log.info(f'data_str {data_str}')
# self.log.info(f"gen Payload {self.uuid}, {self.ts}")
# payload = ctx.call('encodePayload', data_str, self.uuid, self.ts)
payload = PxUtils().encode_payload(payload=data_str, uuid=self.uuid, ts=self.ts)
payload = ctx.call('encodePayload', data_str, self.uuid, self.ts)
# payload = PxUtils().encode_payload(payload=data_str, uuid=self.uuid, ts=self.ts)
# self.log.info(f'payload {payload}')
pc = self._gen_pc(data_str, f'{self.uuid}:{self.tag}:{self.ft}')
body = {
......@@ -196,7 +269,7 @@ class PxBypass():
"payload": payload,
}
body = self.update_sid_vid(body)
# self.log.info(f'postBody {json.dumps(body)}')
self.log.info(f'postBody {json.dumps(body)}')
# response = self.session.post(self.pxUrl, headers=self.pxHeaders, data=body)
response = requests.post(self.tlsUrl,
......@@ -219,7 +292,7 @@ class PxBypass():
self.log.info('; '.join(cks))
self.inc()
self.performanceNow += int(time.time() * 1000 - self.startTs)
# self.px12280 = self.startTs2 + self.performanceNow
self.px12280 = self.startTs2 + self.performanceNow
def run(self):
# self._init()
......@@ -286,7 +359,7 @@ class PxBypass():
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
'cookie': cks,
"user-agent":self.ua
"user-agent": self.ua
}, method="GET", proxy=self.prox,
debug=True,
# ,allow_redirects=True
......@@ -406,12 +479,19 @@ class PxBypass():
n.append(i ^ param)
return n
def _gen_pc(self, t, e):
def _gen_pc(self, t1, e):
# self.log.info(f'genpc t: {t}')
# self.log.info(f'genpc e: {e}')
# ctx = execjs.compile(jsCode)
h = hmac.new(e.encode(), t.encode(), hashlib.md5)
# return ctxPC.call('genPc', t1,e)
# r = requests.post('http://127.0.0.1:3001', data={
# 't':t1,
# 'e':e
# })
# print(r.text)
# return r.text
h = hmac.new(t1.encode('utf-8'), e.encode('utf-8'), hashlib.md5)
t = h.hexdigest()
# pc1
e = ""
b = ""
for i in t:
......@@ -464,7 +544,7 @@ class PxBypass():
"cookie": '; '.join(cks)
}, method="GET", proxy=self.prox,
debug=True
,allow_redirects=True
, allow_redirects=True
))
response = response.json()
......@@ -494,7 +574,7 @@ class PxBypass():
# self.startTs, self.startTs2, self.performanceNow, self.px12280, nn)
# data_str =
# data = json.loads(data_str)
p = PxEnv(self.pxEnv,self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2,
p = PxEnv(self.pxEnv, self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2,
self.str1, self.uuid,
self.startTs, self.startTs2, self.performanceNow, self.px12280)
data = [p.get_px11590()]
......@@ -546,12 +626,14 @@ class PxBypass():
# data_str = ctxStep2.call('genPayload4', self.target_url, self.sid, self.vid, self.ts, self.num1,
# self.num2,
# self.str1, self.uuid,self.startTs, self.startTs2, self.performanceNow, self.px12280)
p = PxEnv(self.pxEnv,self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2,
p = PxEnv(self.pxEnv, self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2,
self.str1, self.uuid,
self.startTs, self.startTs2, self.performanceNow, self.px12280)
data = [
p.get_px12123(), p.get_px11891(),
p.get_px11547()]
p.get_px12123(),
p.get_px11891(),
p.get_px11547()]
self.do_collector(data)
def parse_resp(self, resp):
......@@ -670,8 +752,9 @@ if __name__ == '__main__':
while True:
try:
px = PxBypass(url)
t1 = '[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":4769,"PX12248":3600,"PX11385":1700553697276,"PX12280":1700553697286,"PX11496":"31fafcb0-8844-11ee-8d49-97ed9bc8f96f","PX12564":null,"PX12565":-1,"PX11379":false}}]'
t2 = '31fafcb0-8844-11ee-8d49-97ed9bc8f96f:v8.7.2:317'
t1 = '''[{"t":"PX11590","d":{"PX11431":1701248155479,"PX12454":6371,"PX11701":"12286920904220322039","PX11529":34342085,"PX11555":4294705152,"PX11833":38986980,"PX11840":"Wed Nov 29 2023 16:55:55 GMT+0800 (中国标准时间)","PX12573":"621b88ff","PX11804":"a56be5c777767beda5f582d45e16dc35","PX12118":"cljfp6u0mf32013votgg","PX11746":"a3daefaf50543816dd162c6d116f4ac6","PX11371":"d2315a8c810c532d63e8287e70a97513","PX12501":"7a4c9311535c9112550cf9422b924c68","PX12169":1,"PX11902":1,"PX11560":8180,"PX11332":1701248155141,"PX12248":3600,"PX11385":1701248154916,"PX12280":1701248160983,"PX11496":"1b024930-8e95-11ee-ae67-53932ce066fc","PX12588":"unknown","PX12555":{"plugext":{"0":{"f":"internal-pdf-viewer","n":"PDF Viewer"},"1":{"f":"internal-pdf-viewer","n":"Chrome PDF Viewer"},"2":{"f":"internal-pdf-viewer","n":"Chromium PDF Viewer"},"3":{"f":"internal-pdf-viewer","n":"Microsoft Edge PDF Viewer"},"4":{"f":"internal-pdf-viewer","n":"WebKit built-in PDF"}},"plugins_len":5},"PX12583":{"smd":{"ok":true,"ex":false}},"PX12582":3,"PX12587":false,"PX12330":"109|66|66|70|80","PX11705":111,"PX11938":true,"PX11602":true,"PX12021":"false","PX12421":"false","PX12124":1,"PX11609":1,"PX12291":"","PX11881":["app","csi","loadTimes"],"PX12207":0,"PX11538":2,"PX11984":"TypeError: Cannot read properties of None (reading '0')\n at he (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1136:13)\n at Zo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:3320:22)\n at Eo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2892:23)\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:3265:9","PX11645":"https://www.flyfrontier.com/","PX11597":[],"PX12023":"","PX11337":false,"PX12544":true,"PX12589":"succeeded","PX11524":true,"PX11843":1920,"PX11781":1080,"PX12121":1920,"PX12128":1055,"PX12387":"1920X1080","PX12003":24,"PX11380":24,"PX11494":906,"PX12411":853,"PX12443":0,"PX12447":0,"PX11533":true,"PX12079":false,"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":["Chrome PDF Viewer","Chromium PDF Viewer","Microsoft Edge PDF Viewer","PDF Viewer","WebKit built-in PDF"],"PX12286":5,"PX11576":true,"PX12318":true,"PX11384":true,"PX11886":true,"PX11583":"en-US","PX12458":"MacIntel","PX11681":["en-US"],"PX11754":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12037":true,"PX11390":-480,"PX11621":8,"PX11657":1,"PX12081":"Gecko","PX11908":"20030107","PX12314":"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX11829":true,"PX11464":true,"PX12054":2,"PX11821":"Netscape","PX11479":"Mozilla","PX11674":true,"PX12241":400,"PX11372":false,"PX11683":1.5,"PX11561":"3g","PX11877":true,"PX12100":true,"PX12506":"arm","PX12507":"64","PX12509":false,"PX12510":"","PX12511":"macOS","PX12512":"13.5.0","PX12513":"117.0.5938.149","PX12548":true,"PX12578":{},"PX12579":{"support":true,"status":{"effectiveType":"3g","rtt":400,"downlink":1.5,"saveData":false}},"PX12508":[{"brand":"Google Chrome","version":"117"},{"brand":"Not;A=Brand","version":"8"},{"brand":"Chromium","version":"117"}],"PX12549":true,"PX11539":"831efc5e","PX11528":"","PX12271":"10207b2f","PX11849":"10207b2f","PX12464":"90e65465","PX11356":true,"PX12426":true,"PX11791":true,"PX11517":true,"PX12520":true,"PX12524":"4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27","PX12527":"3207084bd110f1ac964863e23aa78e04","PX12260":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12249":false,"PX11897":"90e65465","PX12597":1,"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":34,"PX11632":0,"PX11409":9,"PX11508":"49e5084e","PX11452":"7c5f9724","PX12218":"65d826e0","PX12481":"a9269e00","PX11780":"50a5ec55","PX12551":"https:","PX12553":"Asia/Shanghai","PX12567":"w3c","PX12576":"screen","PX12594":false,"PX12566":false,"PX12571":"74d9c66","PX12581":"default","PX11303":false,"PX11515":false,"PX12133":false,"PX12340":false,"PX11738":false,"PX11723":false,"PX11389":false,"PX11839":false,"PX11460":false,"PX12102":false,"PX11378":false,"PX12317":false,"PX12564":null,"PX12565":-1,":993=29;2;?99;899;82":";882<38:3:>88:988:93"}}]'''
# t1 = ''
t2 = '1b024930-8e95-11ee-ae67-53932ce066fc:v8.7.2:317'
# print(px._gen_pc(t1, t2))
px.run()
# print(px._uuid())
......
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
}
let t = '[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":31629,"PX12248":3600,"PX11385":1698822700332,"PX12280":1698822700336,"PX11496":"b8a39670-7866-11ee-9655-63a4f05cd5d1","PX12564":null,"PX12565":-1,"PX11379":false}}]'
t = `[{"t":"PX12095","d":{"PX11645":"https://www.flyfrontier.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":36377,"PX12248":0,"PX11385":1698919311053,"PX12280":1698919311054,"PX11496":"b34a66a6-bfb5-40bb-9437-21ef917b8d0e","PX12564":null,"PX12565":-1,"PX11379":false}}]`
t = '[{"t":"PX12095","d":{"PX11645":"https://www.spirit.com/","PX12207":0,"PX12458":"MacIntel","PX11902":0,"PX11560":2352,"PX12248":3600,"PX11385":1700019122060,"PX12280":1700019122064,"PX11496":"8a5265b0-8367-11ee-9a58-bd42f5c10ff9","PX12564":null,"PX12565":-1,"PX11379":true}}]'
t = `[{"t":"PX11590","d":{"PX11431":1701245810476,"PX12454":3712,"PX11701":"12041226300204313737","PX11529":26578564,"PX11555":4294705152,"PX11833":38032282,"PX11840":"Wed Nov 29 2023 16:16:50 GMT+0800 (中国标准时间)","PX12573":"b2fba212","PX11804":"9c15fb2b9e24bc3b1d1c4d6a1e8fda92","PX12118":"cljf6smh6vji0152h2jg","PX11746":"f556480249d5c540d7866c9ef16dc697","PX11371":"b5f37aa17c2d5d9cb7875cfdeb5f898f","PX12501":"b478cfaeb3a830068188356dd837f1b7","PX12169":1,"PX11902":1,"PX11560":8757,"PX11332":1701245809872,"PX12248":3600,"PX11385":1701245809633,"PX12280":1701245816025,"PX11496":"a51ca710-8e8f-11ee-991d-cf2a28e811cd","PX12588":"unknown","PX12555":{"plugext":{"0":{"f":"internal-pdf-viewer","n":"PDF Viewer"},"1":{"f":"internal-pdf-viewer","n":"Chrome PDF Viewer"},"2":{"f":"internal-pdf-viewer","n":"Chromium PDF Viewer"},"3":{"f":"internal-pdf-viewer","n":"Microsoft Edge PDF Viewer"},"4":{"f":"internal-pdf-viewer","n":"WebKit built-in PDF"}},"plugins_len":5},"PX12583":{"smd":{"ok":true,"ex":false}},"PX12582":3,"PX12587":false,"PX12330":"109|66|66|70|80","PX11705":111,"PX11938":true,"PX11602":true,"PX12021":"false","PX12421":"false","PX12124":1,"PX11609":1,"PX12291":"","PX11881":["app","csi","loadTimes"],"PX12207":0,"PX11538":2,"PX11984":"TypeError: Cannot read properties of None (reading '0')\\n at he (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1136:13)\\n at Zo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:3320:22)\\n at Eo (https://client.px-cloud.net/PXVb73hTEg/main.min.js:2892:23)\\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:3265:9","PX11645":"https://www.flyfrontier.com/","PX11597":[],"PX12023":"","PX11337":false,"PX12544":true,"PX12589":"succeeded","PX11524":true,"PX11843":1920,"PX11781":1080,"PX12121":1920,"PX12128":1055,"PX12387":"1920X1080","PX12003":24,"PX11380":24,"PX11494":906,"PX12411":853,"PX12443":0,"PX12447":0,"PX11533":true,"PX12079":false,"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":["Chrome PDF Viewer","Chromium PDF Viewer","Microsoft Edge PDF Viewer","PDF Viewer","WebKit built-in PDF"],"PX12286":5,"PX11576":true,"PX12318":true,"PX11384":true,"PX11886":true,"PX11583":"en-US","PX12458":"MacIntel","PX11681":["en-US"],"PX11754":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12037":true,"PX11390":-480,"PX11621":8,"PX11657":1,"PX12081":"Gecko","PX11908":"20030107","PX12314":"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX11829":true,"PX11464":true,"PX12054":2,"PX11821":"Netscape","PX11479":"Mozilla","PX11674":true,"PX12241":400,"PX11372":false,"PX11683":1.5,"PX11561":"3g","PX11877":true,"PX12100":true,"PX12506":"arm","PX12507":"64","PX12509":false,"PX12510":"","PX12511":"macOS","PX12512":"13.5.0","PX12513":"117.0.5938.149","PX12548":true,"PX12578":{},"PX12579":{"support":true,"status":{"effectiveType":"3g","rtt":400,"downlink":1.5,"saveData":false}},"PX12508":[{"brand":"Google Chrome","version":"117"},{"brand":"Not;A=Brand","version":"8"},{"brand":"Chromium","version":"117"}],"PX12549":true,"PX11539":"831efc5e","PX11528":"","PX12271":"10207b2f","PX11849":"10207b2f","PX12464":"90e65465","PX11356":true,"PX12426":true,"PX11791":true,"PX11517":true,"PX12520":true,"PX12524":"4YC14YCd4YCd4YCV4YCe4YCX4YGS5J256aus7r266YaI5oCR7r27","PX12527":"3207084bd110f1ac964863e23aa78e04","PX12260":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","PX12249":false,"PX11897":"90e65465","PX12597":1,"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":34,"PX11632":0,"PX11409":9,"PX11508":"49e5084e","PX11452":"7c5f9724","PX12218":"65d826e0","PX12481":"a9269e00","PX11780":"50a5ec55","PX12551":"https:","PX12553":"Asia/Shanghai","PX12567":"w3c","PX12576":"screen","PX12594":false,"PX12566":false,"PX12571":"74d9c66","PX12581":"default","PX11303":false,"PX11515":false,"PX12133":false,"PX12340":false,"PX11738":false,"PX11723":false,"PX11389":false,"PX11839":false,"PX11460":false,"PX12102":false,"PX11378":false,"PX12317":false,"PX12564":null,"PX12565":-1,"9:8<9::>;88:8<;9;?;?":"65736551477573464040"}}]`
let e = 'b34a66a6-bfb5-40bb-9437-21ef917b8d0e:v8.7.2:317'
e = 'a51ca710-8e8f-11ee-991d-cf2a28e811cd:v8.7.2:317'
function genPc(t,e){
return genPC2(genPC1(N(D(e, t))))
}
console.log(genPc(e,t))
\ No newline at end of file
......@@ -11,7 +11,7 @@ def test():
# webs.request_url = "http://ymx-lcc.unififi.com/ew/shop/rev-vis/shopping"
request_url = "http://lcc.unififi.com/f9/shop/rev-vis/shopping"
# webs.request_url = "http://52.52.23.116/f9/shop/rev-vis/shopping"
request_url = "http://127.0.0.1:52041/f9/shop/rev-vis/shopping"
# request_url = "http://127.0.0.1:52041/f9/shop/rev-vis/shopping"
r = requests.post(url=request_url, json=request_data)
print(r.text)
......
......@@ -29,10 +29,11 @@ class PxUtils():
t3 = self.Ev(fv, len(BasePayload), uuid)
return self.Fa(fv, BasePayload, t3)
def ie(self, t, e):
t = t.encode()
n = bytearray()
for i in range(len(t)):
n.append(e ^ ord(t[i]))
return n.decode()
n.append(e ^ t[i])
return n
def encode(self, t):
encoded_str = quote(t)
res = re.findall('(%[0-9A-F]{2})', encoded_str)
......@@ -53,14 +54,14 @@ class PxUtils():
c = i % len(r)
else:
c = i
u = ord(r[c]) * ord(r[l])
u = r[c] * r[l]
# print(i, l, c, u)
if u > a:
a = u
for f in range(len(t)):
s = math.floor(f / len(r)) + 1
d = f % len(r)
p = ord(r[d]) * ord(r[s])
p = r[d]*r[s]
# print(f, s, d, p, p > e, wv(p, 0, a, 0, e-1))
if p >= e:
p = wv(p, 0,a,0,e-1)
......@@ -74,7 +75,7 @@ class PxUtils():
def Fa(self, t, e, n):
r = ''
o = 0
a = t
a = t.decode()
for i in range(len(t)):
# print(i,o,n[i], n[i] - i - 1, e[o: n[i] - i - 1], a[i], e[o: n[i] - i - 1]+a[i])
r += e[o: n[i]-i-1] + a[i]
......
......@@ -9,10 +9,13 @@ headers = {"authority": "booking.flyfrontier.com",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",
"cookie": '_pxvid=4aae3b08-8e7e-11ee-b902-b60760864a65; pxcts=4aae46b1-8e7e-11ee-b902-9e6e61499ea3; _px2=eyJ1IjoiNGEzZjI1ZTAtOGU3ZS0xMWVlLTg0ZDQtNzY5ZDEwYWE4MTk0IiwidiI6IjRhYWUzYjA4LThlN2UtMTFlZS1iOTAyLWI2MDc2MDg2NGE2NSIsInQiOjYyMDIzMzg4MDAwNCwiaCI6IjI4ZmIwYWJiZDYzMWUwMWI2YTIwNTE2YmU3OTlmOTdmNzE0YTY1OWVmY2MxMzRhZWQyNjViZmEwMzgyMWZiMjEifQ=='
"cookie": 'dtCookie=v_4_srv_3_sn_F607F0716D6DB3D488DB450A52BDA2AE_perc_100000_ol_0_mul_1_app-3Ac2511286146686c7_0; _gcl_au=1.1.1044529785.1701249644; _gid=GA1.2.220719328.1701249662; wisepops_visits=%5B%222023-11-29T09%3A20%3A44.489Z%22%5D; _rdt_uuid=1701249661893.b6548479-23b4-4459-b4a5-80688293205e; pxcts=9d7abb09-8e98-11ee-bc03-1c5ca66fd046; _pxvid=9d7aafee-8e98-11ee-bc03-6108f57dddeb; _fbp=fb.1.1701249673500.1588343604; _tt_enable_cookie=1; _ttp=PgoxsyKz04A_qhqzORW8fzV1OGn; _up=1.2.552442425.1701249674; _px2=eyJ1IjoiOTJkYzJjMjAtOGU5OC0xMWVlLTgxYWEtNWYzMjUyMzRmYWYzIiwidiI6IjlkN2FhZmVlLThlOTgtMTFlZS1iYzAzLTYxMDhmNTdkZGRlYiIsInQiOjYyMDIzMzg4MDAwNywiaCI6IjM3NTI5ZDg0MTFjZjgwM2JmZmYwZWM5OTEyZWE2ZWQyNDliZTIwZTYxZDVhMzUxZTk0NTI1YjNhNTkxNGE3MWYifQ==; wisepops=%7B%22csd%22%3A1%2C%22popups%22%3A%7B%22429858%22%3A%7B%22dc%22%3A1%2C%22d%22%3A1701249673841%7D%7D%2C%22sub%22%3A0%2C%22ucrn%22%3A6%2C%22cid%22%3A%2278471%22%2C%22v%22%3A4%2C%22bandit%22%3A%7B%22recos%22%3A%7B%7D%7D%7D; wisepops_session=%7B%22arrivalOnSite%22%3A%222023-11-29T09%3A20%3A44.489Z%22%2C%22mtime%22%3A1701249673842%2C%22pageviews%22%3A1%2C%22popups%22%3A%7B%22429858%22%3A0%7D%2C%22bars%22%3A%7B%7D%2C%22sticky%22%3A%7B%7D%2C%22countdowns%22%3A%7B%7D%2C%22src%22%3Anull%2C%22utm%22%3A%7B%7D%2C%22testIp%22%3Anull%7D; _ga=GA1.2.2094546832.1701249662; _gat_UA-2678252-1=1; rxVisitor=1701249723058B7D3TFIPGPB5POR9565TOB6RNRCBP5G4; _uetsid=9d4824e08e9811eea913bdfbcb587400; _uetvid=9d4851908e9811eea7dc6be0f6d43714; dtSa=true%7CKD%7C-1%7CPage%3A%20Select%7C-%7C1701249728458%7C249723057_829%7Chttps%3A%2F%2Fbooking.flyfrontier.com%2FFlight%2FSelect%7C%7C%7C%7C; _ga_P2WLKWBNNW=GS1.1.1701249661.1.1.1701249728.54.0.0; rxvt=1701251528597|1701249723059; dtPC=3$249723057_829h14vQFAOBWFKGLVRACUCMARRRPHHSVPWFCCP-0e0'
}
url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-11-30&ADT=1&umnr=false&mon=true"
# cks = []
......
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