Commit 57fc0d62 authored by wang's avatar wang

测试

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