This commit is contained in:
xuxiaobo-bobo 2023-05-15 16:09:40 +08:00
parent 712eec5b4b
commit bdeb4c0730
7 changed files with 95 additions and 4195 deletions

View File

@ -393,30 +393,30 @@ bodavm.memory.estimate={
} }
bodavm.memory.location={ bodavm.memory.location={
origin:"https://www.e-food.gr", origin:"http://www.fangdi.com.cn",
hash:"", hash:"",
pathname:"/", pathname:"/",
search:"", search:"",
href:"https://www.e-food.gr/", href:"http://www.fangdi.com.cn/",
port:"", port:"",
protocol:"https:", protocol:"http:",
host:"www.e-food.gr", host:"www.fangdi.com.cn",
ancestorOrigins:{"0":"https://www.e-food.gr"}, ancestorOrigins:'{}',
hostname:"www.e-food.gr" hostname:"www.fangdi.com.cn"
}; };
bodavm.memory.document={ bodavm.memory.document={
URL:"https://www.e-food.gr/", URL:"http://www.fangdi.com.cn/",
referrer:"https://www.e-food.gr/", referrer:"",
documentURI:"https://www.e-food.gr/", documentURI:"http://www.fangdi.com.cn/",
compatMode:"BackCompat", compatMode:"CSS1Compat",
dir:"", dir:"",
title:'', title:'',
designMode:"off", designMode:"off",
readyState:"loading", readyState:"loading",
contentType:"text/html", contentType:"text/html",
inputEncoding:"UTF-8", inputEncoding:"UTF-8",
domain:"www.e-food.gr", domain:"www.fangdi.com.cn",
characterSet:"UTF-8", characterSet:"UTF-8",
charset:"UTF-8", charset:"UTF-8",
hidden:"false", hidden:"false",
@ -438,54 +438,54 @@ bodavm.memory.screen={
width:1440, width:1440,
height:960, height:960,
availWidth:1440, availWidth:1440,
availHeight:920, availHeight:912,
pixelDepth:24, pixelDepth:24,
colorDepth:24, colorDepth:24,
availLeft:0, availLeft:0,
availTop:0, availTop:0,
isExtended:false, isExtended:undefined,
orientation:{}, orientation:{},
onchange:null, onchange:undefined,
}; };
bodavm.memory.navigator={ bodavm.memory.navigator={
language:"zh-CN", language:"zh-CN",
userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36", userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
appVersion:"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36", appVersion:"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
vendor:"Google Inc.", vendor:"Google Inc.",
appName:"Netscape", appName:"Netscape",
appCodeName:"Mozilla", appCodeName:"Mozilla",
cookieEnabled:true, cookieEnabled:true,
languages:["zh-CN","zh"], languages:["zh-CN","zh"],
productSub:"20030107", productSub:"20030107",
userAgentData:{"brands":[{"brand":"Chromium","version":"112"},{"brand":"Google Chrome","version":"112"},{"brand":"Not:A-Brand","version":"99"}],"mobile":false,"platform":"Windows"}, userAgentData:undefined,
xr:{}, xr:undefined,
platform:'Win32', platform:'Win32',
webkitPersistentStorage:{}, webkitPersistentStorage:{},
connection:{}, connection:{},
javaEnabled:false, javaEnabled:false,
product:'Gecko', product:'Gecko',
vendorSub:"", vendorSub:"",
deviceMemory:8, deviceMemory:undefined,
maxTouchPoints:0 maxTouchPoints:0
}; };
bodavm.memory.window={ bodavm.memory.window={
name:"", name:"&$_YWTU=lRzTTHdK5V5grEpcYrNcVfSndG.5OUB8t900nZWO7VA&$_cDro=0&vdFm=",
innerWidth:1440, innerWidth:1440,
innerHeight:817, innerHeight:817,
origin:"https://www.e-food.gr", origin:"http://www.fangdi.com.cn",
outerWidth:1440, outerWidth:1440,
outerHeight:920, outerHeight:920,
defaultStatus:undefined, defaultStatus:undefined,
defaultstatus:undefined, defaultstatus:undefined,
devicePixelRatio:1.5, devicePixelRatio:1.5,
isSecureContext:true, isSecureContext:false,
length:0, length:0,
status:"", status:"",
onmessage:null, onmessage:null,
onbeforeunload:null, onbeforeunload:null,
closed:false, closed:false,
isSecureContext:true, isSecureContext:false,
onappinstalled:null, onappinstalled:null,
onbeforeinstallprompt:null, onbeforeinstallprompt:null,
onbeforexrselect:null, onbeforexrselect:null,
@ -496,7 +496,7 @@ bodavm.memory.window={
oncanplaythrough:null, oncanplaythrough:null,
onsearch:null, onsearch:null,
opener:null, opener:null,
// frameElement:[object HTMLIFrameElement], // frameElement:null,
}; };
@ -504,7 +504,7 @@ bodavm.memory.localStorage={}
bodavm.memory.Performance={ bodavm.memory.Performance={
'getEntriesByType':[], 'getEntriesByType':[],
'timeOrigin':1682672438597.305 'timeOrigin':1684137107940.1

View File

@ -67,12 +67,12 @@ const app = express()
// val =req.query // val =req.query
// }) // })
let bohtml_=fs.readFileSync('D:\\My_Dir\\env_xbb_lastest_jsdom\\run\\run.html').toString('utf-8') let bohtml_=fs.readFileSync('.\\run\\run.html').toString('utf-8')
// bohtml_ // bohtml_
const dom = new JSDOM(bohtml_, const dom = new JSDOM(bohtml_,
{ {
url: "http://sthjt.hubei.gov.cn/", url: "http://www.fangdi.com.cn/",
referrer: "http://sthjt.hubei.gov.cn/", referrer: "http://www.fangdi.com.cn/",
contentType: "text/html", contentType: "text/html",
includeNodeLocations: true, includeNodeLocations: true,
pretendToBeVisual: true, pretendToBeVisual: true,

View File

@ -4,27 +4,27 @@
// let boxhr=new XMLHttpRequest() // let boxhr=new XMLHttpRequest()
// boxhr.open('get' , "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A2%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A73734952%2C%22AdvTabGuid%22%3A%22%22%7D" || null) // boxhr.open('get' , "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A2%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A73734952%2C%22AdvTabGuid%22%3A%22%22%7D" || null)
// let aaa=boxhr.send(true && "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A2%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A73734952%2C%22AdvTabGuid%22%3A%22%22%7D") // let aaa=boxhr.send(true && "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A2%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A73734952%2C%22AdvTabGuid%22%3A%22%22%7D")
if (bodavm.memory.isrs){ // if (bodavm.memory.isrs){
console.log(`当前网站为rs,调用setInterval定时器获取cookie`) // console.log(`当前网站为rs,调用setInterval定时器获取cookie`)
bodavm.memory.asyncEvent.setTimeout[6].callback() // bodavm.memory.asyncEvent.setTimeout[6].callback()
} // }
var xhr = new XMLHttpRequest(); // var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://qikan.cqvip.com/Search/SearchList', true); // xhr.open('POST', 'http://qikan.cqvip.com/Search/SearchList', true);
// xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); // // xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
// xhr.onload = function () { // // xhr.onload = function () {
// // do something to response // // // do something to response
// console.log(this.responseText); // // console.log(this.responseText);
// }; // // };
rsurl=xhr.myurl // rsurl=xhr.myurl
xhr.send(true && "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A3%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A74249929%2C%22AdvTabGuid%22%3A%22%22%7D" ); // xhr.send(true && "searchParamModel=%7B%22ObjectType%22%3A1%2C%22SearchKeyList%22%3A%5B%5D%2C%22SearchExpression%22%3Anull%2C%22BeginYear%22%3Anull%2C%22EndYear%22%3Anull%2C%22UpdateTimeType%22%3Anull%2C%22JournalRange%22%3Anull%2C%22DomainRange%22%3Anull%2C%22ClusterFilter%22%3A%22%22%2C%22ClusterLimit%22%3A0%2C%22ClusterUseType%22%3A%22Article%22%2C%22UrlParam%22%3A%22%22%2C%22Sort%22%3A%220%22%2C%22SortField%22%3Anull%2C%22UserID%22%3A%220%22%2C%22PageNum%22%3A3%2C%22PageSize%22%3A20%2C%22SType%22%3Anull%2C%22StrIds%22%3Anull%2C%22IsRefOrBy%22%3A0%2C%22ShowRules%22%3A%22%22%2C%22IsNoteHistory%22%3A0%2C%22AdvShowTitle%22%3Anull%2C%22ObjectId%22%3Anull%2C%22ObjectSearchType%22%3A0%2C%22ChineseEnglishExtend%22%3A0%2C%22SynonymExtend%22%3A0%2C%22ShowTotalCount%22%3A74249929%2C%22AdvTabGuid%22%3A%22%22%7D" );
let res={ let res={
// b:new XMLHttpRequest().open(''), // b:new XMLHttpRequest().open(''),
cookie:document.cookie, cookie:document.cookie,
url:rsurl // url:rsurl
} }
return res return res

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long