Skip to content

Commit

Permalink
增加REDME和privoxy相关文件
Browse files Browse the repository at this point in the history
  • Loading branch information
silentmoooon committed Apr 18, 2020
1 parent f39efd2 commit b6281b0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# TrojanWrapper
`TrojanWrapper`是一个trojan的包装工具,在trojan的基础上增加了设置开机自启(通过托盘图标设置),以及通过privoxy提供http代理。
- 使用
>将trojan.exe(必须为该文件名,且全小写)和相关配置文件放到TrojanWrapper.exe所在的目录下,然后启动TrojanWrapper.exe,其中http代理端口默认为8088,可在config.txt文件中的listen-address 0.0.0.0:8088处修改。
- 环境
> .net 4.6
6 changes: 6 additions & 0 deletions TrojanWrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="config.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="privoxy.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="trojanWrapper.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
8 changes: 8 additions & 0 deletions config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
listen-address 0.0.0.0:8088
toggle 0
logfile ss_privoxy.log
show-on-task-bar 0
activity-animation 0
forward-socks5 / 127.0.0.1:8087 .
max-client-connections 2048
hide-console
Binary file added privoxy.exe
Binary file not shown.

0 comments on commit b6281b0

Please # to comment.