# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: | |
| !function() { | |
| let WEIBO_RED_GUARDS_LIST = 'https://raw.githubusercontent.com/yu961549745/WeiboBlackList/master/list.txt' | |
| , BLOCK_URI = '//weibo.com/aj/filter/block?ajwvr=6' | |
| , BLUEBIRD_URI = '//cdn.staticfile.org/bluebird/3.5.0/bluebird.min.js' | |
| , UID_REGEXP = new RegExp(/^\d+$/) | |
| , MAX_CONCURRENCY = 1 | |
| , PER_REQ_DELAY_MS = 2000 | |
| , RESULT_SET = [] | |
| ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package util | |
| import ( | |
| "fmt" | |
| "math/big" | |
| "crypto/dsa" | |
| "encoding/asn1" | |
| "encoding/pem" | |
| "crypto/rand" | |
| "encoding/base64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: !function() { | |
| var nameArr = [ | |
| 'details', | |
| 'post', | |
| 'postBody', | |
| 'article', | |
| 'body', | |
| 'html', | |
| 'section', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: !function() { | |
| var CIDR_IP_LIST_URL = 'https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt'; | |
| var PROXY_URL = 'Change this to your proxy address.'; | |
| var PAC_TMPL = [ | |
| '\'use strict\';', | |
| '', | |
| '// template literals', | |
| `var autoproxy = '${PROXY_URL}';`, |