threekiii / vulnerability-wiki Goto Github PK
View Code? Open in Web Editor NEW基于 docsify 部署,目前漏洞数量 1000+
基于 docsify 部署,目前漏洞数量 1000+
我按照你那个指引启动docker-compose会报错,提示node的版本过低,最后我更改了Dockerfile里面的配置才行
From node:16-alpine
RUN npm install npm -g --registry=https://registry.npm.taobao.org
RUN npm i docsify-cli -g
node改成16,cnpm改成npm,我用的 debian进行安装的,还有这个安装的描述应该增加apt install docker docker-compose 不是有些人看不懂
还有我内存2g,cpu2核打开0sec 网页会提示内存报错
使用compose up模式构建的时候:新解压出来的0sec会需要使用一次 docker-compose up --build -d对0sec进行构建,不是的话会打开页面出现404报错
恕我愚笨,按照教程在vps上搭建不成功,默认监听localhost端口,本机访问不到vps上的服务。到docs-0sec、docs-base执行docker serve命令会爆“Please run docsify init first.”错误
docker-compose up --build -d 之后3002依旧404是为啥
Step 3/6 : RUN cnpm i docsify-cli -g
---> Running in cdf938833012
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'fs/promises'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js:10:12)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
ERROR: Service 'base' failed to build: The command '/bin/sh -c cnpm i docsify-cli -g' returned a non-zero code: 1
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'fs/promises'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js:10:12)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
ERROR: Service 'base' failed to build: The command '/bin/sh -c cnpm i docsify-cli -g' returned a non-zero code: 1
使用compose up模式构建的时候:新解压出来的0sec会需要使用一次 docker-compose up --build -d对0sec进行构建,不是的话会打开页面出现404报错。
大佬如上操作之后
为啥docs-0sec的查看每个漏洞还是404
弄个定时更新
dockerfile怎么编写可以给个示例吗
搭建起来为啥全都是404
使用Docker-compose启动的时候,没什么报错。但是无法访问3002端口。
单独启动,报如下错误:
[eval]:1
3002:3002
^
SyntaxError: Unexpected token ':'
at new Script (node:vm:100:7)
at createScript (node:vm:265:10)
at Object.runInThisContext (node:vm:313:10)
at node:internal/process/execution:79:19
at [eval]-wrapper:6:22
at evalScript (node:internal/process/execution:78:60)
at node:internal/main/eval_string:27:3
更新后vulhub 目录缺少README.md文档,导致404
docker-compose up --build -d起来没有问题,只要关机重启后,docker-compose up -d这样起来,web访问提示访问时间过长而被拒绝。只要再重新docker-compose up --build -d才行。。
按你的要求下载了docker,设置了映射端口。网络连接是有打开3003端口的,但是无法访问wooyun的内容来。进去docker是有开放web服务的。这个问题怎么处理呢?我看了Ubuntu防火墙也都是正常放开的
COPY failed: file not found in build context or excluded by .dockerignore: stat docs: file does not exist, Code: 1
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.