Commit 7314feb6 authored by wangmingming's avatar wangmingming

captcha.js

parent edb55883
...@@ -4348,6 +4348,10 @@ try { ...@@ -4348,6 +4348,10 @@ try {
var n; var n;
$c = !1; $c = !1;
if (tf["length"] > 0 || Mf["length"] > 0) { if (tf["length"] > 0 || Mf["length"] > 0) {
console.log('gf', gf)
console.log('Mf', Mf)
console.log('yf', yf)
console.log('tf', tf)
ml("PX12419", (f(n = {}, "PX12040", tf), f(n, "PX12170", t), f(n, "PX11934", su), f(n, "PX12160", ef), f(n, "PX11875", Mu), f(n, "PX11844", rf), f(n, "PX12465", kc), f(n, "PX11393", Mf["join"]("|")), f(n, "PX12470", Gt()), f(n, "PX11747", yf["length"] > 0 ? yf : void 0), f(n, "PX11698", gf["length"] > 0 ? we(gf) : void 0), f(n, "PX11679", m["body"] && m["body"]["offsetWidth"] + "x" + m["body"]["offsetHeight"] || ""), n)); ml("PX12419", (f(n = {}, "PX12040", tf), f(n, "PX12170", t), f(n, "PX11934", su), f(n, "PX12160", ef), f(n, "PX11875", Mu), f(n, "PX11844", rf), f(n, "PX12465", kc), f(n, "PX11393", Mf["join"]("|")), f(n, "PX12470", Gt()), f(n, "PX11747", yf["length"] > 0 ? yf : void 0), f(n, "PX11698", gf["length"] > 0 ? we(gf) : void 0), f(n, "PX11679", m["body"] && m["body"]["offsetWidth"] + "x" + m["body"]["offsetHeight"] || ""), n));
} }
wf(!1); wf(!1);
......
This diff is collapsed.
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
<body> <body>
<script> <script>
window._pxVid = ''; window._pxVid = '';
window._pxUuid = 'a4eb4343-90e1-11ee-9e54-56f8e371b50f'; window._pxUuid = '0d0705ca-91da-11ee-8407-7ad31e044ac6';
window._pxAppId = 'PXVb73hTEg'; window._pxAppId = 'PXVb73hTEg';
window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net'; window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net';
window._pxCustomLogo = ''; window._pxCustomLogo = '';
window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js'; window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js';
window._pxFirstPartyEnabled = 'false'; window._pxFirstPartyEnabled = 'false';
var script = document.createElement('script'); var script = document.createElement('script');
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=a4eb4343-90e1-11ee-9e54-56f8e371b50f&v=&m=0'; script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=0d0705ca-91da-11ee-8407-7ad31e044ac6&v=&m=0';
document.head.appendChild(script); document.head.appendChild(script);
script.onerror = function () { script.onerror = function () {
script = document.createElement('script'); script = document.createElement('script');
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=a4eb4343-90e1-11ee-9e54-56f8e371b50f&v=&m=0'; script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=0d0705ca-91da-11ee-8407-7ad31e044ac6&v=&m=0';
script.onerror = window._pxDisplayErrorMessage; script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script); document.head.appendChild(script);
}; };
......
...@@ -4764,11 +4764,14 @@ export class PxEnv { ...@@ -4764,11 +4764,14 @@ export class PxEnv {
} }
createMouse() { createMouse() {
let paths = path(
{ this.startEvent = {
"x": randint(0, 1000), "x": randint(0, 1000),
"y": randint(0, 1000), "y": randint(0, 1000),
}, }
let paths = path(
this.startEvent
,
{ {
"x": randint(0, 1000), "x": randint(0, 1000),
"y": randint(0, 1000), "y": randint(0, 1000),
...@@ -5770,6 +5773,7 @@ let env = new PxEnv('', 'url', sid, vid, ts, num1, num2, ...@@ -5770,6 +5773,7 @@ let env = new PxEnv('', 'url', sid, vid, ts, num1, num2,
env.cap = true env.cap = true
setTimeout(function () { setTimeout(function () {
console.log(JSON.stringify(env.get_px12419())) // console.log(JSON.stringify(env.get_px12419()))
console.log(env.createPX11698())
console.log(env.createPX11698(true))
}, 100) }, 100)
import {randint} from "./utils.js";
let window = { let window = {
_pxUuid: '81da0909-8d01-11ee-a0dc-c1014f687990' _pxUuid: '81da0909-8d01-11ee-a0dc-c1014f687990'
...@@ -985,7 +987,7 @@ function createPX1132(hash, hash2, hashv) { ...@@ -985,7 +987,7 @@ function createPX1132(hash, hash2, hashv) {
"partialNibble": D, "partialNibble": D,
// "leftPartOfSolution": I0I0I0[1][":-1"], // "leftPartOfSolution": I0I0I0[1][":-1"],
"leftPartOfSolution": hash.slice(0, hash.length - 1), "leftPartOfSolution": hash.slice(0, hash.length - 1),
"startTime": 3026.5 "startTime": randint(3850, 4500) + Math.random()
}, hash2]) }, hash2])
} }
......
...@@ -81,4 +81,5 @@ IIII00|cjnapsvd4thn7uq9lgm0 ...@@ -81,4 +81,5 @@ IIII00|cjnapsvd4thn7uq9lgm0
I0I0II|14e5dd68-46df-11ee-be3b-6b4862687642 I0I0II|14e5dd68-46df-11ee-be3b-6b4862687642
IIIIII|fp|60|1 IIIIII|fp|60|1
00III0|86809e0cf02a54019055668b6cd60d5f437718e85c33cbadb17c156f134514b5 00III0|86809e0cf02a54019055668b6cd60d5f437718e85c33cbadb17c156f134514b5
''' '''
\ No newline at end of file
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