发布时间:2017-11-27 09:50:09
相关软件下载地址Apache:http://httpd.apache.org/Nginx:http://nginx.org/en/download.htmlOpenSSL:http://www.openssl.org/openssl-poc附件说明PoC.py : 漏洞利用测试PoC脚本showssl.pl:OpenSSL动态库版本检测脚本安装OpenSSL步骤由于运营环境不同,以下过程仅供参考。openssl属于系统应用,被较多应用.........【阅读全文】
发布时间:2017-10-23 14:35:26
1. 安装qpress ( 解压工具,恢复数据库时使用)http://www.quicklz.com/ 下载tar xvf qpress-11-linux-x64.tarchmod +x qpressmv qpress /usr/bin2. 安装必要rpm包yum install perl-DBD-MySQLyum install perl-Digest-MD5下载与操作系统对应的libev包并安装http://rpmfind.net/linux/rpm2html/search.php?query=l.........【阅读全文】
发布时间:2017-07-26 10:06:20
1、编写agentd端python监控脚本[root@bj1-10-112-80-11 etc]# cat check_port.py #!/usr/bin/python__author__ = 'Yan'import osimport jsondata = {}tcp_list = []port_list = []t = ['2000','2001','2002','2003','2004','2005','2006','2007','2008','2009','2010','2011','2012','2013','2014','2015','2016'.........【阅读全文】
发布时间:2017-07-01 17:18:43
#encoding=utf8 import loggingimport MySQLdbdef olddb(): return DB("200db",3306,"user","password","dbname")def newdb(): return DB("200db",3306,"user","password","dbname")class DB(): def __init__(self,db_host,db_port,db_user,db_pwd.........【阅读全文】
发布时间:2017-06-22 17:23:54
#!/usr/bin/pythonfrom fabric.api import *from fabric.context_managers import *from fabric.contrib.console import confirmfrom fabric.contrib.files import *import time,osi='machtalk@10.112.80.2:22'env.hosts=[i]env.roledefs = { 'all':[i]}env.passwords = { i:'GVk2qWUTW.........【阅读全文】