pysunday / rs-reverse Goto Github PK
View Code? Open in Web Editor NEW瑞数vmp纯算法逆向,补环境框架sdenv的灵感来源
License: BSD 3-Clause "New" or "Revised" License
瑞数vmp纯算法逆向,补环境框架sdenv的灵感来源
License: BSD 3-Clause "New" or "Revised" License
D:\Data\Workspace\Download\rs-reverse-main-02>node main.js makecookie -u http://mt1.wfdsjls.com:9908/Login.html
ERROR rs-reverse - Error: 请确保url与适配器匹配, 当前已适配:cnipa、riversecurity、wfdsjls
at module.exports (D:\Data\Workspace\Download\rs-reverse-main-02\src\adapt\index.js:15:46)
at commandHandler (D:\Data\Workspace\Download\rs-reverse-main-02\main.js:72:32)
at D:\Data\Workspace\Download\rs-reverse-main-02\node_modules\yargs\build\index.cjs:1:8993
at j (D:\Data\Workspace\Download\rs-reverse-main-02\node_modules\yargs\build\index.cjs:1:4956)
at _.handleValidationAndGetResult (D:\Data\Workspace\Download\rs-reverse-main-02\node_modules\yargs\build\index.cjs:1:8962)
at D:\Data\Workspace\Download\rs-reverse-main-02\node_modules\yargs\build\index.cjs:1:9551
使用命令 单独js文件
const documentAll = require('./getDocumentAll.node')
报错信息如下
Error: getDocumentAll.node is not a valid Win32 application.
Node.js v20.11.0
使用命令
node node_modules/.bin/jest ./test/documentAll-addon.test.js
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.11.0
本人环境
Windows 11 家庭中文版 64 位
nodejs Node.js v20.11.0
D:\Test\test\rs>npx rs-reverse makecode -u http://wcjs.sbj.cnipa.gov.cn/sgtmi
C:\Users\12817\AppData\Local\npm-cache_npx\8d44cd73943023ee\node_modules\module-alias\index.js:184
throw new Error('Unable to find package.json in any of:\n[' + pathString + ']')
^
Error: Unable to find package.json in any of:
[C:\Users\12817\AppData\Local\npm-cache_npx\8d44cd73943023ee\node_modules\rs-reverse\package.json]
at init (C:\Users\12817\AppData\Local\npm-cache_npx\8d44cd73943023ee\node_modules\module-alias\index.js:184:11)
at Object. (C:\Users\12817\AppData\Local\npm-cache_npx\8d44cd73943023ee\node_modules\rs-reverse\main.js:3:24)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Node.js v18.0.0
Windows10平台
➜ npx -p rs-reverse@latest --registry=https://registry.npmjs.org rs-reverse makecode -u https://cpquery.cponline.cnipa.gov.cn
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise /);
^
RequestError: Error: unable to verify the first certificate
at new RequestError (C:\Users\spider\AppData\Local\npm-cache_npx\ee3ad623c772fe40\node_modules\request-promise-core\lib\errors.js:14:15)
at plumbing.callback (C:\Users\spider\AppData\Local\npm-cache_npx\ee3ad623c772fe40\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (C:\Users\spider\AppData\Local\npm-cache_npx\ee3ad623c772fe40\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (C:\Users\spider\AppData\Local\npm-cache_npx\ee3ad623c772fe40\node_modules\request\request.js:185:22)
at Request.emit (node:events:518:28)
at Request.onRequestError (C:\Users\spider\AppData\Local\npm-cache_npx\ee3ad623c772fe40\node_modules\request\request.js:877:8)
at ClientRequest.emit (node:events:518:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
cause: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
},
error: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
},
options: {
jar: RequestJar {
_jar: CookieJar {
enableLooseMode: true,
store: MemoryCookieStore { idx: {} }
}
},
gzip: true,
uri: 'https://cpquery.cponline.cnipa.gov.cn',
resolveWithFullResponse: true,
simple: false,
headers: {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36',
Connection: 'keep-alive',
Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'Accept-Encoding': 'gzip, deflate, br, zstd',
'Accept-Language': 'zh-CN,zh;q=0.9'
},
callback: [Function: RP$callback],
transform: undefined,
transform2xxOnly: false
},
response: undefined
}
Node.js v20.11.1
可以给出使用瑞数vmp的网站,用于验证和适配!
瑞数vmp应该就是瑞数6,可以自行搜索瑞数哪一代的判断,根据网站顺序验证与适配。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.