Commit 43dbc1cf authored by wangmingming's avatar wangmingming

7777

parent 017c3f5e
......@@ -8580,7 +8580,7 @@ var bl_0 = function () {
var bl_1 = true;
cbb_1370 = {};
cbb_1370["a"] = bl_5;
cbb_1370["\x1D"] = bl_0;
cbb_1370["b"] = bl_0;
cbb_1370["c"] = !bl_4;
cbb_1370["d"] = bl_1;
return cbb_1370;
......
......@@ -49,7 +49,7 @@ for i in range(100):
# selectId = 'ac22733c38ee66a568f17174'
c = requests.get('https://www.jetblue.com/js/src/jb-74873.js').text
m5 = md5(c)
if m5 != lastHash and usedTime > 5:
if m5 != lastHash and usedTime > 3:
lastHash = m5
usedTime = 0
print('js变化')
......@@ -113,7 +113,7 @@ for i in range(100):
}
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
proxy = 'http://127.0.0.1:7890'
session.proxies = {
'http': proxy,
......
This diff is collapsed.
......@@ -20,9 +20,14 @@ var v_saf;
const fss = require("fs");
var ENVS = JSON.parse(fss.readFileSync('env.json').toString())
// dc6a639f12738c9276d68c74
let keys = Object.keys(ENVS);
let ENV = ENVS[process.argv[2] || keys[parseInt(Math.random() * keys.length)]]
// let keys = Object.keys(ENVS);
// for (let i = 0; i <keys.length; i++) {
// console.log(keys[i], ENVS[keys[i]].navigatorparams.useragent)
//
// }
// let ENV = ENVS[process.argv[2] || keys[parseInt(Math.random() * keys.length)]]
let ENV = ENVS[process.argv[2] || 'd849c3286d37b521717482d0']
// ENV.navigatorparams.hardwareconcurrency = 20
const crypto = require('crypto');
const {proxy} = require("./jsdom/lib/jsdom/living/generated/utils");
const {randomNumberRange} = require("ghost-cursor/lib/math");
......@@ -43,8 +48,17 @@ console.log(Object.keys(Object.getOwnPropertyDescriptors(console)))
// Date.prototype.getTime = function () { return 1685096207545 };
// Date.prototype.toString = function () { return 1685096207545 };
// Performance.prototype.now = function now(){ return Number('1685096207545'.slice(8))}
//
// Math.random = function random() { return 0.08636862211354912 };
Math.random = function random() { return 0.08636862211354912 };
Date.prototype.toString = v_saf(function () {
try {
return this.getTime()
} catch (e) {
return Date.now()
}
}, 'toString')
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
debug = false;
dtavm = {}
......@@ -52,10 +66,10 @@ v_events = {}
v_start_stamp = Date.now()
print = console.log
dtavm.log = console.log
con3 = console.log
con4 = console.log
con3 = function (){}
con4 = function (){}
let con3 = console.log
let con4 = console.log
// con3 = function (){}
// con4 = function (){}
......@@ -651,31 +665,40 @@ PluginArray = v_saf(function PluginArray() {
throw TypeError("Illegal constructor")
}
;
this[0] = v_new(Plugin);
this[0].description = "Portable Document Format";
this[0].filename = "internal-pdf-viewer";
this[0].length = 2;
this[0].name = "PDF Viewer";
this[1] = v_new(Plugin);
this[1].description = "Portable Document Format";
this[1].filename = "internal-pdf-viewer";
this[1].length = 2;
this[1].name = "Chrome PDF Viewer";
this[2] = v_new(Plugin);
this[2].description = "Portable Document Format";
this[2].filename = "internal-pdf-viewer";
this[2].length = 2;
this[2].name = "Chromium PDF Viewer";
this[3] = v_new(Plugin);
this[3].description = "Portable Document Format";
this[3].filename = "internal-pdf-viewer";
this[3].length = 2;
this[3].name = "Microsoft Edge PDF Viewer";
this[4] = v_new(Plugin);
this[4].description = "Portable Document Format";
this[4].filename = "internal-pdf-viewer";
this[4].length = 2;
this[4].name = "WebKit built-in PDF";
for (let i = 0; i <Object.keys(ENV.plugins).length; i++) {
this[i] = v_new(Plugin);
let plugin = ENV.plugins[i];
this[i].description = plugin.description;
this[i].filename = plugin.filename;
this[i].length = plugin.length;
this[i].name = plugin.name;
}
console.log()
// this[0] = v_new(Plugin);
// this[0].description = "Portable Document Format";
// this[0].filename = "internal-pdf-viewer";
// this[0].length = 2;z
// this[0].name = "PDF Viewer";
// this[1] = v_new(Plugin);
// this[1].description = "Portable Document Format";
// this[1].filename = "internal-pdf-viewer";
// this[1].length = 2;
// this[1].name = "Chrome PDF Viewer";
// this[2] = v_new(Plugin);
// this[2].description = "Portable Document Format";
// this[2].filename = "internal-pdf-viewer";
// this[2].length = 2;
// this[2].name = "Chromium PDF Viewer";
// this[3] = v_new(Plugin);
// this[3].description = "Portable Document Format";
// this[3].filename = "internal-pdf-viewer";
// this[3].length = 2;
// this[3].name = "Microsoft Edge PDF Viewer";
// this[4] = v_new(Plugin);
// this[4].description = "Portable Document Format";
// this[4].filename = "internal-pdf-viewer";
// this[4].length = 2;
// this[4].name = "WebKit built-in PDF";
})
PluginArray = new Proxy(PluginArray, {
get(target, p, receiver) {
......@@ -757,7 +780,7 @@ WebSocket = v_saf(function WebSocket() {
;
});
_inherits(WebSocket, EventTarget)
RTCPeerConnectionIceEvent = v_saf(function RTCPeerConnectionIceEvent() {
let RTCPeerConnectionIceEvent = v_saf(function RTCPeerConnectionIceEvent() {
if (!v_new_toggle) {
throw TypeError("Illegal constructor")
}
......@@ -1833,27 +1856,26 @@ Object.defineProperties(Location.prototype,{
this.origin = this.protocol + "//" + this.host + (this.port ? ":" + this.port : "");
}
},
ancestorOrigins: {
value: v_saf(function ancestorOrigins(){
return v_saf(function DOMStringList(){
assign: {
value: v_saf(function assign(){
})
}),
enumerable:true,
},
assign: {
value: v_saf(function assign(){
ancestorOrigins: {
get: v_saf(function ancestorOrigins(){
return new DOMStringList()
}),
enumerable:true,
enumerable:true,
configurable:false,
},
// fragmentDirective: 'c',
// hash: {set: function(arg){this._hash = arg}, get:function(){return this._hash}, enumerable:true},
// host: {set: function(arg){this._host = arg}, get:function(){return this._host}, enumerable:true},
// hostname: {set: function(arg){this._hostname = arg}, get:function(){return this._hostname}, enumerable:true},
// origin: {set: function(arg){this._origin = arg}, get:function(){return this._origin}, enumerable:true},
origin: {set: function(arg){this._origin = arg}, get:function(){return this._origin}, enumerable:true},
// pathname: {set: function(arg){this._pathname = arg}, get:function(){return this._pathname}, enumerable:true},
// port: {set: function(arg){this._port = arg}, get:function(){return this._port}, enumerable:true},
// protocol: {set: function(arg){this._protocol = arg}, get:function(){return this._protocol}, enumerable:true},
......@@ -4095,17 +4117,20 @@ location = v_new(Location)
location.href = 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
// v_hook_href(location, "location", 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false')
location.__proto__ = Location.prototype
DOMStringList = v_saf(function DOMStringList(){
})
Object.defineProperties(location, {
href: {
value: 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
},
ancestorOrigins: {
value: v_saf(function ancestorOrigins(){
return v_saf(function DOMStringList(){
})
get: v_saf(function ancestorOrigins(){
return new DOMStringList()
}),
enumerable:true,
configurable:false
},
assign: {
......@@ -4152,7 +4177,24 @@ Object.defineProperties(location, {
},
})
window.location = location
window.location = new Proxy(location, {
get(target, p, receiver) {
console.log('locaiton get', p)
return Reflect.get(target, p, receiver)
},
has(target, p) {
let res = Reflect.has(target, p);
console.log('locaiton has', p, res)
return res;
},
getOwnPropertyDescriptor(target, p) {
let res = Reflect.getOwnPropertyDescriptor(target, p);
console.log('locaiton getOwnPropertyDescriptor', p, res)
return res;
}
})
origin = location.origin
self = window;
globalThis = window
......@@ -4248,6 +4290,12 @@ window.isSecureContext = true
window.innerWidth = ENV.windowparams.innerwidth;
window.outerWidth = ENV.windowparams.outerwidth;
window.innerHeight = ENV.windowparams.innerheight;
// todo
// window.innerHeight = 859
// window.innerWidth = 2560
// window.outerHeight = 970
// window.outerWidth = 2560
window.outerHeight = ENV.windowparams.outerheight;
window.screenLeft = 0;
window.screenTop = ENV.windowparams.screeny || 120;
......@@ -4315,7 +4363,6 @@ document = {
characterSet: 'UTF-8',
charset: 'UTF-8',
compatMode: 'CSS1Compat',
documentMode: undefined,
images: [],
// createElementNS: v_saf(function createElementNS(){
// return _createElement.apply(this, arguments)
......@@ -4338,7 +4385,7 @@ document = {
_console2(arguments);
return v_geteles(...arguments, 'getElementsByTagName')
},
referrer: 'https://www.jetblue.com/best-fare-finder?nff=true',
referrer: '',
// createElement: v_saf(function createElement(name) {
// return _createElement(name)
// }),
......@@ -4708,7 +4755,11 @@ window.dispatchEvent = dispatchEvent;
// if (arguments[0] === 'value')return false;
// return _funcHasOwnprop.apply(this, arguments)
// }
window.Notification = v_saf(function Notification(){})
window.requestAnimationFrame = v_saf(function requestAnimationFrame(){})
window.frameElement = null;
window.Function = Function;
window.event = undefined;
window.Object = Object;
window.Array = Array;
window.Date = Date;
......@@ -5991,3 +6042,4 @@ let reProxy = function (tt, name) {
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
var v_saf;
!function () {
var n = Function.toString, t = [], i = [], o = [].indexOf.bind(t), e = [].push.bind(t), r = [].push.bind(i);
function u(n, t, nn) {
tt = ''
if (nn) {
tt = ' ' + nn
}
return -1 == o(n) && (e(n), r(`function${tt} ${t || n.name || ""}() { [native code] }`)), n
}
Object.defineProperty(Function.prototype, "toString", {
enumerable: !1,
configurable: !0,
writable: !0,
value: function () {
let res = "function" == typeof this && i[o(this)] || n.call(this)
// print('toString', arguments, '|||', 'res', res)
return res;
}
}), u(Function.prototype.toString, "toString"), v_saf = u
}();
var bl_33 = function () {
var bl_3 = arguments[0];
if (typeof bl_3 === "string") {
......@@ -49,4 +73,51 @@ let data = new Uint8Array(90000);
for (let i = 0; i < data.length; i++) {
data[i] = 11
}
console.log(bl_33(data))
\ No newline at end of file
console.log(bl_33(data))
function _inherits(t, e) {
t.prototype = Object.create(e.prototype, {
constructor: {value: t, writable: !0, configurable: !0}
}), e && Object.setPrototypeOf(t, e)
}
class Document {
}
Object.defineProperties(Document.prototype, {
createElement: {
value:function (){},
configurable: true,
enumerable: true,
writable: true
},
})
document = {
}
delete Document.prototype.createElement.__proto__
Object.setPrototypeOf(Document.prototype.createElement, null);
// Object.defineProperty(Document.prototype.createElement, 'prototype',undefined)
HTMLDocument = v_saf(function HTMLDocument() {
if (!v_new_toggle) {
throw TypeError("Illegal constructor")
}
;Object.defineProperty(this, 'location', {
get() {
return location
}
})
});
_inherits(HTMLDocument, Document)
document.__proto__ = HTMLDocument.prototype
tt1 = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(document)), 'createElement').value
Object.setPrototypeOf(tt1, null);
delete tt1.__proto__
delete tt1.prototype
t = Object["call"]["bind"](Object["bind"], Object["call"])(Object["apply"])(Function["prototype"]["call"]["bind"], Function["prototype"]["call"], [Object["prototype"]["hasOwnProperty"]]);
console.log(t(tt1,'prototype'))
\ 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