Commit 57fc0d62 authored by wang's avatar wang

测试

parent 5ed76150
No preview for this file type
...@@ -22,15 +22,15 @@ const fss = require("fs"); ...@@ -22,15 +22,15 @@ const fss = require("fs");
var ENVS = JSON.parse(fss.readFileSync('env.json').toString()) var ENVS = JSON.parse(fss.readFileSync('env.json').toString())
// dc6a639f12738c9276d68c74 // dc6a639f12738c9276d68c74
let keys = Object.keys(ENVS); let keys = Object.keys(ENVS);
// for (let i = 0; i <keys.length; i++) { for (let i = 0; i <keys.length; i++) {
// console.log(keys[i], ENVS[keys[i]].navigatorparams.useragent) console.log(keys[i], ENVS[keys[i]].navigatorparams.useragent)
//
// } }
// let sid = process.argv[2] || keys[parseInt(Math.random() * keys.length)] // let sid = process.argv[2] || keys[parseInt(Math.random() * keys.length)]
let sid = process.argv[2] || '8ffdff7b995c8ad51d902ff0'; let sid = process.argv[2] || '8ffdff7b995c8ad51d902ff0';
let ENV = ENVS[sid] let ENV = ENVS[sid]
const crypto = require('crypto'); // const crypto = require('crypto');
const {proxy} = require("./jsdom/lib/jsdom/living/generated/utils"); const {proxy} = require("./jsdom/lib/jsdom/living/generated/utils");
const {randomNumberRange} = require("ghost-cursor/lib/math"); const {randomNumberRange} = require("ghost-cursor/lib/math");
module = undefined; module = undefined;
...@@ -91,8 +91,8 @@ print = console.log ...@@ -91,8 +91,8 @@ print = console.log
dtavm.log = console.log dtavm.log = console.log
let con3 = console.log let con3 = console.log
let con4 = console.log let con4 = console.log
// con3 = function (){} con3 = function (){}
// con4 = function (){} con4 = function (){}
...@@ -757,15 +757,15 @@ WebKitMutationObserver = v_saf(function WebKitMutationObserver() { ...@@ -757,15 +757,15 @@ WebKitMutationObserver = v_saf(function WebKitMutationObserver() {
} }
; ;
}) })
// Crypto = v_saf(function Crypto(){if (!v_new_toggle){ throw TypeError("Illegal constructor") }; crypto = v_saf(function Crypto(){if (!v_new_toggle){ throw TypeError("Illegal constructor") };
// this.getRandomValues = function(){ this.getRandomValues = function(){
// v_console_log(' [*] Crypto -> getRandomValues[func]') v_console_log(' [*] Crypto -> getRandomValues[func]')
// var e=arguments[0]; return e.map(function(x, i){return e[i]=v_random()*1073741824});} var e=arguments[0]; return e.map(function(x, i){return e[i]=v_random()*1073741824});}
// this.randomUUID = function(){ this.randomUUID = function(){
// v_console_log(' [*] Crypto -> randomUUID[func]') v_console_log(' [*] Crypto -> randomUUID[func]')
// function get2(){return (v_random()*255^0).toString(16).padStart(2,'0')} function get2(){return (v_random()*255^0).toString(16).padStart(2,'0')}
// function rpt(func,num){var r=[];for(var i=0;i<num;i++){r.push(func())};return r.join('')} function rpt(func,num){var r=[];for(var i=0;i<num;i++){r.push(func())};return r.join('')}
// return [rpt(get2,4),rpt(get2,2),rpt(get2,2),rpt(get2,2),rpt(get2,6)].join('-')}}) return [rpt(get2,4),rpt(get2,2),rpt(get2,2),rpt(get2,2),rpt(get2,6)].join('-')}})
Image = v_saf(function Image() { Image = v_saf(function Image() {
; ;
return v_new(HTMLImageElement) return v_new(HTMLImageElement)
...@@ -1485,18 +1485,18 @@ HTMLBodyElement = v_saf(function HTMLBodyElement() { ...@@ -1485,18 +1485,18 @@ HTMLBodyElement = v_saf(function HTMLBodyElement() {
}); });
_inherits(HTMLBodyElement, HTMLElement) _inherits(HTMLBodyElement, HTMLElement)
Object.defineProperties(HTMLBodyElement.prototype, { Object.defineProperties(HTMLBodyElement.prototype, {
innerText: { // innerText: {
get: function () { // get: function () {
return 'ssss' // return 'ssss'
}, // },
enumerable:true, // enumerable:true,
configurable:true // configurable:true
}, // },
webkitRequestFullScreen: { // webkitRequestFullScreen: {
value: v_saf(function webkitRequestFullScreen(){}), // value: v_saf(function webkitRequestFullScreen(){}),
enumerable:true, // enumerable:true,
configurable:true // configurable:true
}, // },
[Symbol.toStringTag]: {value: "HTMLBodyElement", writable: false, enumerable: false, configurable: true}, [Symbol.toStringTag]: {value: "HTMLBodyElement", writable: false, enumerable: false, configurable: true},
}) })
HTMLCanvasElement = v_saf(function HTMLCanvasElement() { HTMLCanvasElement = v_saf(function HTMLCanvasElement() {
...@@ -4362,7 +4362,7 @@ if (sid === '8ffdff7b995c8ad51d902ff0') { ...@@ -4362,7 +4362,7 @@ if (sid === '8ffdff7b995c8ad51d902ff0') {
// {"innerHeight":938,"innerWidth":1920,"outerHeight":1055,"outerWidth":1920,"screenX":null,"screenY":25,"isSecureContext":true,"devicePixelRatio":1} // {"innerHeight":938,"innerWidth":1920,"outerHeight":1055,"outerWidth":1920,"screenX":null,"screenY":25,"isSecureContext":true,"devicePixelRatio":1}
// {"innerHeight":null,"innerWidth":1920,"outerHeight":1055,"outerWidth":1920,"screenX":1728,"screenY":25,"isSecureContext":true,"devicePixelRatio":1} // {"innerHeight":null,"innerWidth":1920,"outerHeight":1055,"outerWidth":1920,"screenX":1728,"screenY":25,"isSecureContext":true,"devicePixelRatio":1}
window.innerHeight = null window.innerHeight = 938
window.innerWidth = 1920 window.innerWidth = 1920
window.outerHeight = 1055 window.outerHeight = 1055
window.outerWidth = 1920 window.outerWidth = 1920
...@@ -6129,11 +6129,11 @@ Object.defineProperty = function (p, v,d){ ...@@ -6129,11 +6129,11 @@ Object.defineProperty = function (p, v,d){
// debugger; // debugger;
d.value = undefined; d.value = undefined;
} }
if (v === 'stack' && Object.keys(d).length === 1){ // if (v === 'stack' && Object.keys(d).length === 1){
debugger; // debugger;
d.get = undefined // d.get = undefined
// throw TypeError('asdasd') // // throw TypeError('asdasd')
} // }
if ((v === 'c' || v === 'd' || v === 'b') && d.value === false){ if ((v === 'c' || v === 'd' || v === 'b') && d.value === false){
d.value = true; d.value = true;
// debugger; // debugger;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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