mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
chore: rename the name of binary to spoofdpi
This commit is contained in:
parent
7e70f10049
commit
7dc8408204
46
.github/workflows/release.yaml
vendored
46
.github/workflows/release.yaml
vendored
@ -56,69 +56,69 @@ jobs:
|
|||||||
GOOS: darwin
|
GOOS: darwin
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: darwin/arm64
|
- name: darwin/arm64
|
||||||
env:
|
env:
|
||||||
GOOS: darwin
|
GOOS: darwin
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: linux/amd64
|
- name: linux/amd64
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: linux/arm
|
- name: linux/arm
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm
|
GOARCH: arm
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: linux/arm64
|
- name: linux/arm64
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: linux/mips
|
- name: linux/mips
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: mips
|
GOARCH: mips
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: linux/mipsle
|
- name: linux/mipsle
|
||||||
env:
|
env:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: mipsle
|
GOARCH: mipsle
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi
|
tar -zcvf "spoofdpi-$GOOS-$GOARCH.tar.gz" ./spoofdpi && rm -rf ./spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.tar.gz"
|
||||||
|
|
||||||
- name: windows/amd64
|
- name: windows/amd64
|
||||||
env:
|
env:
|
||||||
GOOS: windows
|
GOOS: windows
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
go build -ldflags="-w -s" -o "spoof-dpi-$GOOS-$GOARCH.exe" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
|
go build -ldflags="-w -s" -o "spoofdpi-$GOOS-$GOARCH.exe" github.com/xvzc/SpoofDPI/cmd/spoofdpi
|
||||||
gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe"
|
gh release upload $TAG_NAME "./spoofdpi-$GOOS-$GOARCH.exe"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ See the installation guide for SpoofDPI [here](https://github.com/xvzc/SpoofDPI/
|
|||||||
|
|
||||||
# 使用方法
|
# 使用方法
|
||||||
```
|
```
|
||||||
Usage: spoof-dpi [options...]
|
Usage: spoofdpi [options...]
|
||||||
-addr string
|
-addr string
|
||||||
listen address (default "127.0.0.1")
|
listen address (default "127.0.0.1")
|
||||||
-banner
|
-banner
|
||||||
@ -34,7 +34,7 @@ Usage: spoof-dpi [options...]
|
|||||||
enable system-wide proxy (default true)
|
enable system-wide proxy (default true)
|
||||||
-timeout int
|
-timeout int
|
||||||
timeout in milliseconds; no timeout when not given
|
timeout in milliseconds; no timeout when not given
|
||||||
-v print spoof-dpi's version; this may contain some other relevant information
|
-v print spoofdpi's version; this may contain some other relevant information
|
||||||
-window-size int
|
-window-size int
|
||||||
chunk size, in number of bytes, for fragmented client hello,
|
chunk size, in number of bytes, for fragmented client hello,
|
||||||
try lower values if the default value doesn't bypass the DPI;
|
try lower values if the default value doesn't bypass the DPI;
|
||||||
@ -45,10 +45,10 @@ Usage: spoof-dpi [options...]
|
|||||||
設定 > 拡張機能に移動して無効にしてください。
|
設定 > 拡張機能に移動して無効にしてください。
|
||||||
|
|
||||||
### OSX
|
### OSX
|
||||||
`spoof-dpi`を実行すると、自動的にプロキシが設定されます。
|
`spoofdpi`を実行すると、自動的にプロキシが設定されます。
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
`spoof-dpi`を実行し、プロキシオプションを使用してブラウザを開きます。
|
`spoofdpi`を実行し、プロキシオプションを使用してブラウザを開きます。
|
||||||
```bash
|
```bash
|
||||||
google-chrome --proxy-server="http://127.0.0.1:8080"
|
google-chrome --proxy-server="http://127.0.0.1:8080"
|
||||||
```
|
```
|
||||||
|
@ -13,7 +13,7 @@ SpoofDPI의 설치과정은 [여기](https://github.com/xvzc/SpoofDPI/blob/main/
|
|||||||
|
|
||||||
# 사용법
|
# 사용법
|
||||||
```
|
```
|
||||||
Usage: spoof-dpi [options...]
|
Usage: spoofdpi [options...]
|
||||||
-addr string
|
-addr string
|
||||||
listen address (default "127.0.0.1")
|
listen address (default "127.0.0.1")
|
||||||
-banner
|
-banner
|
||||||
@ -34,7 +34,7 @@ Usage: spoof-dpi [options...]
|
|||||||
enable system-wide proxy (default true)
|
enable system-wide proxy (default true)
|
||||||
-timeout int
|
-timeout int
|
||||||
timeout in milliseconds; no timeout when not given
|
timeout in milliseconds; no timeout when not given
|
||||||
-v print spoof-dpi's version; this may contain some other relevant information
|
-v print spoofdpi's version; this may contain some other relevant information
|
||||||
-window-size int
|
-window-size int
|
||||||
chunk size, in number of bytes, for fragmented client hello,
|
chunk size, in number of bytes, for fragmented client hello,
|
||||||
try lower values if the default value doesn't bypass the DPI;
|
try lower values if the default value doesn't bypass the DPI;
|
||||||
@ -44,10 +44,10 @@ Usage: spoof-dpi [options...]
|
|||||||
> 만약 브라우저에서 Hotspot Shield와 같은 크롬 VPN 확장프로그램을 사용중이라면
|
> 만약 브라우저에서 Hotspot Shield와 같은 크롬 VPN 확장프로그램을 사용중이라면
|
||||||
Settings > Extension 으로 이동해 비활성화 해주시기바랍니다.
|
Settings > Extension 으로 이동해 비활성화 해주시기바랍니다.
|
||||||
### OSX
|
### OSX
|
||||||
터미널에서 `$ spoof-dpi`를 실행합니다. Proxy 설정은 자동으로 수행됩니다.
|
터미널에서 `$ spoofdpi`를 실행합니다. Proxy 설정은 자동으로 수행됩니다.
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
터미널에서 `$ spoof-dpi`를 실행하고, 프록시 옵션과 함께 브라우저를 실행합니다.
|
터미널에서 `$ spoofdpi`를 실행하고, 프록시 옵션과 함께 브라우저를 실행합니다.
|
||||||
`google-chrome --proxy-server="http://127.0.0.1:8080"`
|
`google-chrome --proxy-server="http://127.0.0.1:8080"`
|
||||||
|
|
||||||
# 원리
|
# 원리
|
||||||
|
@ -13,7 +13,7 @@ See the installation guide for SpoofDPI [here](https://github.com/xvzc/SpoofDPI/
|
|||||||
|
|
||||||
# Использование
|
# Использование
|
||||||
```
|
```
|
||||||
Usage: spoof-dpi [опции...]
|
Usage: spoofdpi [опции...]
|
||||||
-addr string
|
-addr string
|
||||||
listen address (default "127.0.0.1")
|
listen address (default "127.0.0.1")
|
||||||
-banner
|
-banner
|
||||||
@ -34,7 +34,7 @@ Usage: spoof-dpi [опции...]
|
|||||||
enable system-wide proxy (default true)
|
enable system-wide proxy (default true)
|
||||||
-timeout int
|
-timeout int
|
||||||
timeout in milliseconds; no timeout when not given
|
timeout in milliseconds; no timeout when not given
|
||||||
-v print spoof-dpi's version; this may contain some other relevant information
|
-v print spoofdpi's version; this may contain some other relevant information
|
||||||
-window-size int
|
-window-size int
|
||||||
chunk size, in number of bytes, for fragmented client hello,
|
chunk size, in number of bytes, for fragmented client hello,
|
||||||
try lower values if the default value doesn't bypass the DPI;
|
try lower values if the default value doesn't bypass the DPI;
|
||||||
@ -45,10 +45,10 @@ Usage: spoof-dpi [опции...]
|
|||||||
Chrome, зайдите в Настройки > Расширения и отключите их.
|
Chrome, зайдите в Настройки > Расширения и отключите их.
|
||||||
|
|
||||||
### OSX
|
### OSX
|
||||||
Пропишите `spoof-dpi` и прокси автоматически установится
|
Пропишите `spoofdpi` и прокси автоматически установится
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
Пропишите `spoof-dpi` и откройте Chrome с параметром прокси
|
Пропишите `spoofdpi` и откройте Chrome с параметром прокси
|
||||||
```bash
|
```bash
|
||||||
google-chrome --proxy-server="http://127.0.0.1:8080"
|
google-chrome --proxy-server="http://127.0.0.1:8080"
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ See the installation guide for SpoofDPI [here](https://github.com/xvzc/SpoofDPI/
|
|||||||
# 使用方法
|
# 使用方法
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: spoof-dpi [options...]
|
Usage: spoofdpi [options...]
|
||||||
-addr string
|
-addr string
|
||||||
listen address (default "127.0.0.1")
|
listen address (default "127.0.0.1")
|
||||||
-banner
|
-banner
|
||||||
@ -37,7 +37,7 @@ Usage: spoof-dpi [options...]
|
|||||||
enable system-wide proxy (default true)
|
enable system-wide proxy (default true)
|
||||||
-timeout int
|
-timeout int
|
||||||
timeout in milliseconds; no timeout when not given
|
timeout in milliseconds; no timeout when not given
|
||||||
-v print spoof-dpi's version; this may contain some other relevant information
|
-v print spoofdpi's version; this may contain some other relevant information
|
||||||
-window-size int
|
-window-size int
|
||||||
chunk size, in number of bytes, for fragmented client hello,
|
chunk size, in number of bytes, for fragmented client hello,
|
||||||
try lower values if the default value doesn't bypass the DPI;
|
try lower values if the default value doesn't bypass the DPI;
|
||||||
@ -48,10 +48,10 @@ Usage: spoof-dpi [options...]
|
|||||||
> 如果你在 Chrome 浏览器使用其他 VPN 扩展比如 Hotspot Shield 请去 设置 > 扩展程序禁用它们
|
> 如果你在 Chrome 浏览器使用其他 VPN 扩展比如 Hotspot Shield 请去 设置 > 扩展程序禁用它们
|
||||||
|
|
||||||
### OSX
|
### OSX
|
||||||
运行 `spoof-dpi` ,然后它会自动设置自身为代理
|
运行 `spoofdpi` ,然后它会自动设置自身为代理
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
运行 `spoof-dpi` 然后加上代理参数运行你的浏览器
|
运行 `spoofdpi` 然后加上代理参数运行你的浏览器
|
||||||
```bash
|
```bash
|
||||||
google-chrome --proxy-server="http://127.0.0.1:8080"
|
google-chrome --proxy-server="http://127.0.0.1:8080"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user