用于方便地产生各种协议接口。实现为在原来的协议外套一层编码和解码接口,不但可以伪装成其它协议流量,还可以把原协议转换为其它协议进行兼容或完善(但目前接口功能还没有写完,目前还在测试完善中),需要服务端与客户端配置相同的协议插件。插件共分为两类,包括混淆插件和协议定义插件。
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
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" |
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
| var GB2260 = { | |
| "110000": "北京市", | |
| "110100": "北京市市辖区", | |
| "110101": "北京市东城区", | |
| "110102": "北京市西城区", | |
| "110103": "北京市崇文区", | |
| "110104": "北京市宣武区", | |
| "110105": "北京市朝阳区", | |
| "110106": "北京市丰台区", | |
| "110107": "北京市石景山区", |
- Open Chrome Developer tools and click the Network tab.
- Navigate to the page with the video and get it to start playing.
- Filter the list of files to "m3u8".
- Find master.m3u8 or index.m3u8 and click on it.
- Save the file to disk and look inside it.
- If the file contains a single m3u8 master url, copy that one instead.
- Run the program m3u8x.
- Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
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
| #in ZSH, add to ~/.zprofile | |
| set_http_proxy() { | |
| if [ -e $HOME/.proxyrc ]; then | |
| . $HOME/.proxyrc | |
| fi | |
| if [ -z $http_proxy ]; then | |
| echo "No proxy config, environment found, connection attempt failed." | |
| echo "Let's setup a config or update your password." |
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
| ; betaType | |
| ; https://gist.github.com/beta/8552d043e70cc214e34c68c25151f59c | |
| [General] | |
| Name=betaType | |
| DirectWrite=1 | |
| HookChildProcesses=1 | |
| HintingMode=1 | |
| AntiAliasMode=1 |
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
| ## 一.引言 | |
| ### 1. 编写目的(阐明编写详细设计说明书的目的,指明读者对象。) | |
| ### 2. 项目背景(应包括项目的来源和主管部门等。) | |
| ### 3. 定义(列出文档中用到的专门术语定义和缩写词的原意。) | |
| ### 4. 参考资料(列出这些资料的作者、标题、编号、发表日期、出版单位或资料来源,可包括:(1)项目的计划任务书,合同或批文;(2)项目开发计划;(3)需求规格说明书;(3)概要设计说明书;(4)测试计划(初稿);(5)用户操作手册(初稿);(5)文档所引用的其他资料、软件开发标准或规范。) | |
| ## 二.总体设计 | |
| ### 1.需求概述 |
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
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() | |
| case "windows": | |
| err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start() | |
| case "darwin": | |
| err = exec.Command("open", url).Start() |
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
| client := &http.Client{] | |
| req, err := http.NewRequest("POST", "http://example.com", bytes.NewReader(postData)) | |
| req.Header.Add("User-Agent", "myClient") | |
| resp, err := client.Do(req) | |
| defer resp.Body.Close() |
NewerOlder