9394952

导航

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 32 下一页

2021年1月8日 #

VBS下将gbk转utf-8

摘要: 通过zabbix监控windows,由于zabbix server运行在linux下,采用utf-8内码处理,而windows则以gbk(gb2312)做内码,所以当有中文内容上报到zabbix时,会造成编码错误 通过实践,经以下代码处理后,输出基本上符合需求,需不无完全保证无乱码,但已经完全可以接 阅读全文

posted @ 2021-01-08 10:27 9394952 阅读(535) 评论(0) 推荐(0)

2020年12月16日 #

稍为改写了下DropBrute用于IPV6检测nginx的access_log

摘要: #!/bin/sh # # DropBrute.sh @20130516 # # minimalist OpenWRT/dropbear ssh brute force attack banning script # # Installation steps: # # 1) Optionally e 阅读全文

posted @ 2020-12-16 13:59 9394952 阅读(167) 评论(0) 推荐(0)

2020年12月15日 #

懒人安装nginx-all-modules

摘要: 本想测试一下开源WAF,看了文章要用到nginx-lua模块,一般情况下nginx加模块需要手工编译源代码,对于懒人来说,手工编译是什麻烦事,所以就放狗找现在nginx-all-modules的rpm去了 找到一篇参考文章: https://centos.pkgs.org/7/epel-armhfp 阅读全文

posted @ 2020-12-15 11:14 9394952 阅读(2169) 评论(0) 推荐(0)

2020年12月7日 #

Python解决编码问题: `UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 10

摘要: python处理各种跨系统的字符串时,经常会出现各种编码问题,例如linux或网上爬虫多为UTF-8,转到WINDOWS时又需要GBK或GB2312编——这时就经常会出现转换出错 `UnicodeEncodeError: 'gbk' codec can't encode character '\xa 阅读全文

posted @ 2020-12-07 08:59 9394952 阅读(338) 评论(0) 推荐(0)

2020年12月3日 #

python中关于windows文件名非法字符的过滤处理

摘要: 参考文章:http://www.cppcns.com/jiaoben/python/261979.html import renew_filename=re.sub(r'[\\/:*?"<>|\r\n]+', "_", old_filename) 阅读全文

posted @ 2020-12-03 10:30 9394952 阅读(1012) 评论(0) 推荐(1)

2020年10月14日 #

关闭WINDOWS自动检测互联网络

摘要: 点电脑左下角的开始 运行 regedit。 打开后 1 找到注册表键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet 2 双击HKEY_LOCAL_MACHINE\SYSTEM\Curre 阅读全文

posted @ 2020-10-14 13:39 9394952 阅读(1739) 评论(0) 推荐(0)

2020年10月7日 #

win10专业版安装VMware workstation pro 16时提示“setup failed to generate the ssl keys necessary to run vmware”笔记

摘要: 1、按网上介绍的方法,找openssl.exe无果 2、重新安装Microsoft Visual C++ Redistriburtable (下载这里:https://docs.microsoft.com/en-GB/cpp/windows/latest-supported-vc-redist?vi 阅读全文

posted @ 2020-10-07 10:58 9394952 阅读(7087) 评论(0) 推荐(0)

2020年8月24日 #

手动启动MegaRAID Storage Manager v17.05.02.01 for Linux

摘要: 软件包下载地址:MegaRAID Storage Manager v17.05.02.01 for Linux - IBM Systems 安装参考:https://blog.csdn.net/feng4656/article/details/9959557 分割线 有时侯Mega服务端没有启动,可 阅读全文

posted @ 2020-08-24 10:11 9394952 阅读(1161) 评论(0) 推荐(0)

2020年8月10日 #

iptables实现指定接口的端口转发

摘要: 一、本机的端口转发: iptables -t nat -I PREROUTING -i pppoe-wan -p udp --dport 53 -j REDIRECT --to-ports 5300 就是将指定的pppoe-wan接口的53端口udp请求转发到5300端口 检查: iptables 阅读全文

posted @ 2020-08-10 15:59 9394952 阅读(4005) 评论(0) 推荐(0)

2020年6月17日 #

完全禁止FireFox更新

摘要: 新版本的FireFox77和Ngihtly79真是作死了,显示自家的网站都乱码,因此,必须动手禁止其更新 禁止更新的方法参照这里: https://winaero.com/blog/disable-updates-firefox-63-above/ 网上写的通过前台的高级选项里面关闭自动更新都是不够 阅读全文

posted @ 2020-06-17 08:41 9394952 阅读(1523) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 32 下一页