摘要: nginx_http_dyups_module nginx_http_dyups_module是第三方开源软件,它提供API动态修改upstream的配置,并且支持Nginx的ip_hash、keepalive等与upstream有关的配置。 安装nginx_http_dyups_module gi 阅读全文
posted @ 2019-12-13 09:52 菩提花开 阅读(2558) 评论(0) 推荐(0) 编辑
摘要: 下面是安装nginx+lua环境时使用的相关模块及版本,ngx_devel_kit和lua-nginx-module模块用的都是github上最新的模块.并进行了LuaJIT的安装。 #Install nginx by 2019-12-12 yum -y install gcc gcc-c++ au 阅读全文
posted @ 2019-12-12 18:25 菩提花开 阅读(3817) 评论(0) 推荐(0) 编辑
摘要: 一、AIDE的概念 AIDE:Advanced Intrusion Detection Environment,是一款入侵检测工具,主要用途是检查文档的完整性。AIDE在本地构造了一个基准的数据库,一旦操作系统被入侵,可以通过对比基准数据库而获取文件变更记录,使用aide.conf作为其配置文档。A 阅读全文
posted @ 2019-10-29 16:45 菩提花开 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 执行脚本,可以得到系统的监控信息。 阅读全文
posted @ 2019-08-29 16:07 菩提花开 阅读(258) 评论(0) 推荐(0) 编辑
摘要: vim中自动补全插件snipmate使用 1、下载snipMatezip:https://github.com/msanders/snipmate.vim/archive/master.zip 2、解压master.zip 3、定制自己的快捷键,在~/.vim/snippets/python.sni 阅读全文
posted @ 2019-08-29 09:52 菩提花开 阅读(2773) 评论(0) 推荐(0) 编辑
摘要: if __name__ == '__main__'的意思是: 当.py文件被直接运行时,if __name__ == '__main__'之下的代码块将被运行; 当.py文件以模块形式被导入时,if __name__ == '__main__'之下的代码块不被运行。 1 一个.py文件被其他.py文 阅读全文
posted @ 2019-08-28 10:08 菩提花开 阅读(303) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- def hello_world(): print('Hello world') def three_hello_world(): for i in range(3): hello_world() if __name__ == '__main__': three_hello_world() 阅读全文
posted @ 2019-08-28 09:05 菩提花开 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 以上实例输出结果为: 阅读全文
posted @ 2019-08-27 16:48 菩提花开 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: 一、rootkit简介 rootkit是Linux平台下最常见的一种木马后门工具,它主要通过替换系统文件来达到入侵和和隐蔽的目的,这种木马比普通木马后门更加危险和隐蔽,普通的检测工具和检查手段很难发现这种木马。rootkit攻击能力极强,对系统的危害很大,它通过一套工具来建立后门和隐藏行迹,从而让攻 阅读全文
posted @ 2019-08-27 09:41 菩提花开 阅读(2253) 评论(0) 推荐(0) 编辑
摘要: [root@swarm-213 ~]# cat systemissue.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2018-12-17 17:16 # @Author : opsonly # @Site : # @File : systemissue.py # @Software: PyCharm import psut 阅读全文
posted @ 2019-08-26 16:46 菩提花开 阅读(210) 评论(0) 推荐(0) 编辑