GithubHelp home page GithubHelp logo

bit-rocket / trojana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisxiao/trojana

0.0 0.0 0.0 2.55 MB

a tiny GUI client for trojan on Mac/极简的Mac trojan App

License: GNU General Public License v3.0

Python 99.71% Shell 0.29%

trojana's Introduction

TrojanA

a tiny client for trojan on Mac

一个极简版trojan客户端,只可运行在Mac上(macOS 10.14.5版本测试通过,其他版本未测试)。

主要特性:

  • 完全使用Python编写,使用了rumps框架,通过py2app构建
  • 基于状态栏的App
  • 支持PAC及全局代理切换

安装:

在这里下载,选择最新版本下载,解压后,移入应用程序目录即可

运行:

与普通App一样,运行后状态栏会出现“🐴”图标,说明运行成功。

初次运行后,需要进入“设置”,填写相关服务端配置。确定后,点“开启”即可。

内部机制:

  • 使用trojan传输数据
  • 使用networksetup命令配置系统代理
  • 使用Python SimpleHTTPServer模块构建PAC文件HTTP服务
  • 使用launchctl管理服务的启动及停止
  • 使用rumps框架包装界面

同样的功能也可通过Python+Shell来完成,GUI界面只是为了方便使用。

问题反馈:

可以提在Issues中。

trojana's People

Contributors

chrisxiao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.