Myluzh Blog

Windows10添加照片查看器

2021-9-9 myluzh Windows

Windows Registry Editor Version 5.00 ; Change Extension's File Type [HKEY_CURRENT_USER\Software\Classes\.jpg] @="PhotoViewer.FileAssoc.Tiff" ; Change Extension's File Type [HKEY_CURRENT_USER\Software\Classes\.jpeg] @="PhotoViewer.FileAssoc.Tiff" ; Change Extension's File Type [HKEY_CURRENT_USER\Software\Classes\.gif] @="PhotoViewer.FileAssoc.Tiff" ; Change Extension's File Type [HKEY_CURRENT_USER\Software\Classes\.png] @="PhotoViewer.FileAssoc.Tiff" ; Change Extension's File Type [HKEY_C...

阅读全文>>

标签: windows 照片 图片 查看器

评论(0) (776)

CentOS7-Zabbix5_Server/Agent 安装笔记

2021-9-8 myluzh Zabbix

官网文档5.0LTS https://www.zabbix.com/cn/download?zabbix=5.0&os_distribution=centos&os_version=7&db=mysql&ws=nginx 关闭防火墙或者允许端口通过都可以 firewall-cmd --zone=public --add-port=10051/tcp --permanent   # 开放Zabbix-server默认端口10051 systemctl disable firewalld #永久关闭防火墙 关闭selinux vim /etc/selinux/config SELINUX=disabled 添加zabbix源 rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm yum clean all 安装zabbix yum install zabbix-server-mysql ...

阅读全文>>

标签: centos zabbix

评论(0) (678)

使用pandoc把word转成markdown格式 docx转md

2021-9-7 myluzh NOTE

apt-get install pandoc pandoc -s a.docx -t markdown -o a.md --extract-media=images

阅读全文>>

标签: padoc docx转md

评论(0) (565)

PPTP口令爆破

2021-8-29 myluzh SECURE

PPTP服务器默认开放1723端口 0x01 PPTP brute forcer 使用PPTP brute forcer,kali自带 源代码:https://github.com/BlackArch/thc-pptp-bruter 命令如下: cat wordlist.txt | thc-pptp-bruter -u admin 192.168.1.8 0x02 python脚本 https://github.com/3gstudent/Homework-of-Python/blob/master/pptp_password_hack.py

阅读全文>>

标签: pptp 爆破

评论(0) (1218)

WPS PIN码最后一位校验位计算

2021-8-9 myluzh SECURE

""" PIN码结构: 前四位 中间三位 校验位 x x x x x x x x 单 双 单 双 单 双 单 PIN码最后一位校验算法: 单位:-x*3 双位:10-x 算:双位+ 单位- 最后运算结果取余的绝对值 """ pin = '7697000' # pin前七位 pinLast = abs((-(3 * int(pin[0])) + (10 - int(pin[1])) - (3 * int(pin[2])) + (10 - int(pin[3])) - (3 * int(pin[4])) + ( 10 - int(pin[5])) - (3 * int(pin[6]))) % 10) print(pinLast) # 校验位 print(pin+str(pinLast))

阅读全文>>

标签: 无线网络 wps pin

评论(0) (904)

Kali更新系统,解决:Updating from such a repository can't be done securely, and is therefore disabled by default.

2021-8-5 myluzh SECURE

今天想更新下kali版本,新版2021.2有些新功能挺好用的,但是出现了问题。 E: The repository 'http://mirrors.163.com/debian wheezy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. 翻译了一下这句报错,大概意思就是无法安全的更新,看了下源地址都是http的,把源地址改成https的就可以了。 sudo vi /etc/apt/sources.list #清华大学 deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free deb-src https://mirror...

阅读全文>>

标签: kali

评论(0) (665)