吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 450|回复: 2
收起左侧

[求助] 在弄rs5,请大神帮帮忙

[复制链接]
Aerfa9527 发表于 2025-4-11 16:30
[JavaScript] 纯文本查看 复制代码
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054
055
056
057
058
059
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
091
092
093
094
095
096
097
098
099
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
delete __dirname
delete __filename
function get_enviroment(proxy_array) {
    for(var i=0; i<proxy_array.length; i++){
        handler = '{\n' +
            '    get: function(target, property, receiver) {\n' +
            '        console.log("方法:", "get  ", "对象:", ' +
            '"' + proxy_array[i] + '" ,' +
            '"  属性:", property, ' +
            '"  属性类型:", ' + 'typeof property, ' +
            // '"  属性值:", ' + 'target[property], ' +
            '"  属性值类型:", typeof target[property]);\n' +
            '        return target[property];\n' +
            '    },\n' +
            '    set: function(target, property, value, receiver) {\n' +
            '        console.log("方法:", "set  ", "对象:", ' +
            '"' + proxy_array[i] + '" ,' +
            '"  属性:", property, ' +
            '"  属性类型:", ' + 'typeof property, ' +
            // '"  属性值:", ' + 'target[property], ' +
            '"  属性值类型:", typeof target[property]);\n' +
            '        return Reflect.set(...arguments);\n' +
            '    }\n' +
            '}'
        eval('try{\n' + proxy_array[i] + ';\n'
        + proxy_array[i] + '=new Proxy(' + proxy_array[i] + ', ' + handler + ')}catch (e) {\n' + proxy_array[i] + '={};\n'
        + proxy_array[i] + '=new Proxy(' + proxy_array[i] + ', ' + handler + ')}')
    }
}
proxy_array = ['window', 'document', 'location', 'navigator', 'history','screen']
  
content = 'RbpmW6cofr7eyEOxPgGsWCOM.usmMcoTMGLjc_ZzfA3'
 
null_fuc = function () {
    console.log(arguments)
}
 
window = global
window.top = window
window.addEventListener = function (res) {
    console.log('window->addEventListener', res)
}
window.HTMLCanvasElement = null_fuc
window.name = ''
window.XMLHttpRequest = function (res) {
    console.log('window->XMLHttpRequest', res)
    return {
        open: function (res) {
            console.log('window->XMLHttpRequest->open', res)
        },
        send: function (res) {
            console.log('window->XMLHttpRequest->send', res)
        },
        setRequestHeader: function (res) {
            console.log('window->XMLHttpRequest->setRequestHeader', res)
        }
    }
}
 
setInterval = null_fuc
setTimeout = null_fuc
 
div = {
    getElementsByTagName: function (res) {
        console.log('div->getElementsByTagName', res)
        if (res == 'i') {
            console.log('div->getElementsByTagName->i', res)
            return ''
        }
    },
}
 
script = {
    0:{},
    1:{},
}
 
document = {
    getElementsByTagName: function (res) {
        console.log('document->getElementsByTagName', res)
        if (res == 'script') {
            console.log('document->getElementsByTagName->script', res)
            return script
        }
        if (res == 'base') {
            console.log('document->getElementsByTagName->base', res)
            return []
        }
    },
    createElement: function (res) {
        console.log('document->createElement', res)
        if (res == 'div') {
            return div
        }
    },
    appendChild: function (res) {
        console.log('document->appendChild', res)
        console.log(arguments);
        return {}
    },
    removeChild: null_fuc,
    getElementById: function (res) {
        console.log('document->getElementById', res)
    },
    addEventListener: function (res) {
        console.log('document->addEventListener', res)
        return {}
    },
    attachEvent: function (res) {
        console.log('document->attachEvent', res)
        return ''
    },
}
 
meta = {
    getAttribute: function (res) {
        if (res === "r") {
            return "m"
        }
    },
    parentNode: {
        removeChild: function (res) {
            console.log('meta->parentNode', res)
        }
    },
    content: content
}
 
location = {
    "ancestorOrigins": {},
    "href": "https://xxxxxxxxxx",
    "origin": "https://XXXXXXX",
    "protocol": "https:",
    "host": "XXXX",
    "hostname": "XXXXX",
    "port": "",
    "pathname": "/portal/",
    "search": "",
    "hash": "XXXXX"
}
 
navigator = {
    appCodeName: "Mozilla",
    appName: "Netscape",
    appVersion: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0",
    userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0",
}
  
get_enviroment(proxy_array)


运行代码,在最后会卡顿一段时间,然后就报错,我debug原网站,看到最后 创建一个XMLHttpRequest,然后再将传参格式化,例如 ‘a=&b=&c=’, 最后调用  send方法传到 rs,我要怎么样补这个
微信截图_20250411162408.png

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

star0angel 发表于 2025-4-11 16:47
环境没补到位
crmyy 发表于 2025-4-11 21:16
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2025-8-2 20:15

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表