javascript: void function() { var lJ_Phone = ["#J_Phone"], lJ_GetSmsCode = ["#J_GetSmsCode"], lJ_mobileIsReadPrivacy = ["q[class='checkbox']"]; for (i = 0; i < lJ_Phone.length; i++) { var J_Phone = document.querySelector(lJ_Phone[i]); if (J_Phone != null) { J_Phone.value = '13912345678'; break } } for (j = 0; j < lJ_mobileIsReadPrivacy.length; j++) { var J_mobileIsReadPrivacy = document.querySelector(lJ_mobileIsReadPrivacy[j]); if (J_mobileIsReadPrivacy.checked != true) { J_mobileIsReadPrivacy.checked = true; break } } for (j = 0; j < lJ_GetSmsCode.length; j++) { var J_GetSmsCode = document.querySelector(lJ_GetSmsCode[j]); J_GetSmsCode.click() } return !1 }()
Tag: 一键脚本
Protected: 新版 Bluemix 一键搭建 SS 脚本
一键脚本安装Fail2ban
安装:
wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh bash fail2ban.sh
卸载:
wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/uninstall.sh bash uninstall.sh
原文:https://www.ixh.me/2016/12/fail2ban-onekey/
Let’s Encrypt SSL证书一键脚本
1、利用脚本快速获取Let’s Encrypt SSL证书,调用 acme_tiny.py 认证、获取、更新证书,不需要额外的依赖。
项目主页:https://github.com/xdtianyu/scripts/tree/master/lets-encrypt
2、下载到本地:
wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.conf
wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.sh
chmod +x letsencrypt.sh
Let’s Encrypt下载脚本
3、配置文件。只需要修改 DOMAIN_KEY DOMAIN_DIR DOMAINS 为你自己的信息
ACCOUNT_KEY=”letsencrypt-account.key”
DOMAIN_KEY=”xiaokyun.com.key”
DOMAIN_DIR=”/var/www/xiaokyun.com”
DOMAINS=”DNS:xiaokyun.com,DNS:www.xiaokyun.com”
4、已经绑定域名到 /var/www/www.xiaokyun.com 目录,即通过 http://xiaokyun.com 和 http://www.xiaokyun.com 可以访问到 /var/www/xiaokyun.com目录,用于域名的验证。