摘要: 买了个山特的SANTAK TG-BOX 850 UPS,自带USB通讯线缆。本以为官方软件提供Linux下的CLI命令以监控UPS状态. 官网提供的下载链接巨慢无比不说,CLI下只提供了安装脚本,没有状态监控程序。我TM…… 算了,当个非管理型的UPS用吧。搜索了下网上提供的脚本,感觉写的都不太合适 阅读全文
posted @ 2019-09-22 17:36 Mrcoool 阅读(3285) 评论(4) 推荐(0) 编辑
摘要: Windows10如果开了SMB 1.0支持,就非常不安全,不开就搜索不到samba的NETBIOS。 在安装配置好samba,并且确认windows可以通过netbios名访问后。 可以使用https://github.com/christgau/wsdd/ 这个是用python3写的WS-Dis 阅读全文
posted @ 2019-09-16 17:41 Mrcoool 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 首先下载解压最新的 OpenSSL wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-stable.zip unzip OpenSSL_1_1_1-stable.zip 然后就是编译安装了 ./config --prefix= 阅读全文
posted @ 2019-09-02 15:03 Mrcoool 阅读(17690) 评论(2) 推荐(1) 编辑
摘要: 把以下代码保存为reg文件导入注册表即可。 阅读全文
posted @ 2019-03-09 22:57 Mrcoool 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash /usr/sbin/service aria2 stop list=`wget -qO- https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt|awk NF|sed ":a 阅读全文
posted @ 2019-01-02 21:36 Mrcoool 阅读(3232) 评论(0) 推荐(0) 编辑
摘要: 安装net-tools: yum install -y net-tools 安装epel源 yum install epel-release 安装fail2ban yum install fail2ban 安装开发工具包 yum groupinstall "Development Tools" 禁用 阅读全文
posted @ 2018-09-18 17:03 Mrcoool 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 使用TMAC软件是最佳方案。官网地址:www.technitium.com 阅读全文
posted @ 2018-07-03 23:26 Mrcoool 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 首先确定是否安装有python: python -V 如果有: cd 到你要开放的文件夹中,然后使用下面的命令可以把 当前文件夹内的所有文件 发布到 8000 端口。 python -m SimpleHTTPServer 8000 如果目录下有index.html,就会显示该文件内容,否则就列目录。 阅读全文
posted @ 2018-07-02 16:50 Mrcoool 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 安装:yum install nc.x86_64 发送文件: nc -l port < somefile.xxx 接收文件: nc -n x.x.x.x port > somefile.xxx 阅读全文
posted @ 2018-07-02 16:43 Mrcoool 阅读(2715) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash echo -e "1) A"echo -e "2) B"echo -e "3) C"echo -e "4) D"echo -e "5) E"echo -e "6) F"echo -e "7) G"echo -e "8) H"echo -e "9) I"echo -e "-- 阅读全文
posted @ 2018-07-02 16:41 Mrcoool 阅读(396) 评论(0) 推荐(0) 编辑