Vulnerability-Wiki
Vulnerability-Wiki copied to clipboard
基于 docsify 快速部署 Awesome-POC 中的漏洞文档
使用compose up模式构建的时候:新解压出来的0sec会需要使用一次 docker-compose up --build -d对0sec进行构建,不是的话会打开页面出现404报错
我按照你那个指引启动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 网页会提示内存报错
已经重构过了项目结构也没有问题但是还是404  
[root@VM-20-4-centos docs-0sec]# docker-compose up -d Creating network "vulnerabilitywiki_default" with the default driver Building 0sec Step 1/6 : FROM node:16-alpine ---> 5dcd1f6157bd Step 2/6 : RUN npm install cnpm -g --registry=https://registry.npm.taobao.org...
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)...
使用compose up模式构建的时候:新解压出来的0sec会需要使用一次 docker-compose up --build -d对0sec进行构建,不是的话会打开页面出现404报错。 大佬如上操作之后 为啥docs-0sec的查看每个漏洞还是404
docker-compose up --build -d起来没有问题,只要关机重启后,docker-compose up -d这样起来,web访问提示访问时间过长而被拒绝。只要再重新docker-compose up --build -d才行。。

> docker compose up [+] Building 0.4s (9/11) docker:default => [0sec internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 169B 0.0s => [0sec internal] load .dockerignore 0.0s...