145 lines
3.0 KiB
JavaScript
145 lines
3.0 KiB
JavaScript
// # Source: https://gitee.com/jdqlscript/yyt/blob/master/%E7%94%B5%E4%BF%A1old/%E7%94%B5%E4%BF%A12/rs.js
|
||
// # Raw: https://gitee.com/jdqlscript/yyt/raw/master/%E7%94%B5%E4%BF%A1old/%E7%94%B5%E4%BF%A12/rs.js
|
||
// # Repo: jdqlscript/yyt
|
||
// # Path: 电信old/电信2/rs.js
|
||
// # UploadedAt: 2025-07-19T22:58:22+08:00
|
||
// # SHA256: af24b67e3e07023318015ff8e283a268a7b13d5053649a5fe38af736b94d12be
|
||
// # Category: APP版/抓包
|
||
// # Evidence: cookie/token/authorization/header
|
||
//
|
||
|
||
delete __filename
|
||
delete __dirname
|
||
ActiveXObject = undefined
|
||
|
||
window = global;
|
||
|
||
|
||
content="content_code"
|
||
|
||
|
||
navigator = {"platform": "Linux aarch64"}
|
||
navigator = {"userAgent": "CtClient;11.0.0;Android;13;22081212C;NTIyMTcw!#!MTUzNzY"}
|
||
|
||
location={
|
||
"href": "https://",
|
||
"origin": "",
|
||
"protocol": "",
|
||
"host": "",
|
||
"hostname": "",
|
||
"port": "",
|
||
"pathname": "",
|
||
"search": "",
|
||
"hash": ""
|
||
}
|
||
|
||
i = {length: 0}
|
||
base = {length: 0}
|
||
div = {
|
||
getElementsByTagName: function (res) {
|
||
console.log('div中的getElementsByTagName:', res)
|
||
if (res === 'i') {
|
||
return i
|
||
}
|
||
return '<div></div>'
|
||
|
||
}
|
||
}
|
||
|
||
script = {
|
||
|
||
}
|
||
meta = [
|
||
{charset:"UTF-8"},
|
||
{
|
||
content: content,
|
||
getAttribute: function (res) {
|
||
console.log('meta中的getAttribute:', res)
|
||
if (res === 'r') {
|
||
return 'm'
|
||
}
|
||
},
|
||
parentNode: {
|
||
removeChild: function (res) {
|
||
console.log('meta中的removeChild:', res)
|
||
|
||
return content
|
||
}
|
||
},
|
||
|
||
}
|
||
]
|
||
form = '<form></form>'
|
||
|
||
|
||
window.addEventListener= function (res) {
|
||
console.log('window中的addEventListener:', res)
|
||
|
||
}
|
||
|
||
|
||
document = {
|
||
|
||
|
||
createElement: function (res) {
|
||
console.log('document中的createElement:', res)
|
||
|
||
|
||
if (res === 'div') {
|
||
return div
|
||
} else if (res === 'form') {
|
||
return form
|
||
}
|
||
else{return res}
|
||
|
||
|
||
|
||
|
||
},
|
||
addEventListener: function (res) {
|
||
console.log('document中的addEventListener:', res)
|
||
|
||
},
|
||
appendChild: function (res) {
|
||
console.log('document中的appendChild:', res)
|
||
return res
|
||
},
|
||
removeChild: function (res) {
|
||
console.log('document中的removeChild:', res)
|
||
},
|
||
getElementsByTagName: function (res) {
|
||
console.log('document中的getElementsByTagName:', res)
|
||
if (res === 'script') {
|
||
return script
|
||
}
|
||
if (res === 'meta') {
|
||
return meta
|
||
}
|
||
if (res === 'base') {
|
||
return base
|
||
}
|
||
},
|
||
getElementById: function (res) {
|
||
console.log('document中的getElementById:', res)
|
||
if (res === 'root-hammerhead-shadow-ui') {
|
||
return null
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
setInterval = function () {}
|
||
setTimeout = function () {}
|
||
window.top = window
|
||
|
||
|
||
'ts_code'
|
||
|
||
|
||
|
||
function main() {
|
||
cookie = document.cookie.split(';')[0]
|
||
return cookie
|
||
}
|
||
|