09 2021 档案

摘要://处理Options预检请求if($_SERVER['REQUEST_METHOD'] == 'OPTIONS'){ //允许的源域名 header("Access-Control-Allow-Origin: *"); //允许的请求头信息 header("Access-Control-Allow 阅读全文
posted @ 2021-09-27 10:52 奋斗小青年1 阅读(179) 评论(0) 推荐(0) 编辑
摘要:disable_functions禁止掉eval函数的方法是错误的,并不能真正禁止! php5版本安装Suhosin防护PHP一句话木马eval!下载扩展源码:https://www.suhosin.org/stories/download.html wget http://download.suh 阅读全文
posted @ 2021-09-26 14:04 奋斗小青年1 阅读(542) 评论(0) 推荐(1) 编辑
摘要:grep -rn --include='*.php' "文件内容" 阅读全文
posted @ 2021-09-26 09:49 奋斗小青年1 阅读(64) 评论(0) 推荐(0) 编辑
摘要:设置伪静态如下: location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/?s=$1 last; break; } } 阅读全文
posted @ 2021-09-16 15:53 奋斗小青年1 阅读(78) 评论(0) 推荐(0) 编辑
摘要:进程操作1. 找到侦听端口的进程的PID:netstat -nlp | grep :8080tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1073/node122. 杀死机器上运行的这个进程kill 10731如果进程拒绝退出,那么只需使用-9标志,这是一个SIGTER 阅读全文
posted @ 2021-09-10 06:46 奋斗小青年1 阅读(709) 评论(0) 推荐(0) 编辑
摘要:[root@yumserver ~]# whereis grepgrep: /usr/bin/grep /usr/share/man/man1/grep.1.gz[root@yumserver ~]# /usr/bin/grep --help用法: /usr/bin/grep [选项]... PAT 阅读全文
posted @ 2021-09-08 20:34 奋斗小青年1 阅读(3121) 评论(0) 推荐(0) 编辑
摘要:CentOS 环境: 本服务器不内置python的。 需要下载 yum install python2 1 安装好了之后。链接一下。 sudo ln -s /usr/bin/python2.7 /usr/bin/python 阅读全文
posted @ 2021-09-08 16:44 奋斗小青年1 阅读(232) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示