• johnrai
    了解作者
  • Java
    开发工具
  • 79KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 3
    下载次数
  • 2019-01-07 14:04
    上传日期
this is android proxy setter
AndroidProxySetter-master.zip
内容介绍
# AndroidProxySetter An android app that sets the proxy settings for a wifi access point by using adb. This DOES NOT require root and will work with any device that has USB debugging on or any emulator (including Genymotion). This app uses the Android Proxy Library from [here](https://github.com/shouldit/android-proxy/tree/master/android-proxy-library) #NOTE This app now works on Android Emulators and Genymotion Emulators on Android Marshmallow 6.0 if you build/install the `emulator` build variant or APK. The `emulator` variant is signed with the Android Emulator platform keystore and thus has permissions to modify the wifi access points again. The `emulator` apk will only work on emulators, not real devices. # Usage Build (or [download](https://github.com/jpkrause/AndroidProxySetter/releases)) and install the apk to your device, then perform the following actions. Set proxy by executing this command with extras listed below: adb shell am start -n tk.elevenk.proxysetter/.MainActivity Extras: -e host <host> # The host ip or address for the proxy -e port <port> # The port for the proxy -e ssid <ssid> # The SSID of the wifi network to set proxy on (optional, will apply on the first one if empty) -e key <shared key> # The password/key for the wifi network -e bypass <bypass string> # The bypass string to use for proxy settings -e reset-wifi <boolean> # Whether or not to reset the wifi settings. This flag will tell the tool to forget all connected networks, make a new network config with the SSID and key given, and then attempt to connect to the wifi network. If no key is given, the wifi network is assumed to be unprotected/open -e clear <boolean> # A flag that will clear the proxy settings for the given SSID Note that for setting a proxy, only host, port and ssid are required. The other extras are optional. Also note that if the `reset-wifi` flag is used it will "forget" any connected networks in order to reset the connection. example of setting the proxy on an open wifi network with a bypass string and reset wifi flag set: adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PublicWifi -e bypass test.com,test2.com -e reset-wifi true example of setting the proxy on a wifi network with a password: adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd The proxy can be cleared for an SSID by executing the following: adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e ssid <ssid> -e clear true example of a .sh script, pre-filling the IP Address, for daily updating of the unique SSID IPADDRESS=`ifconfig en0 | grep inet | grep -v inet6 | awk '{print $2}'` adb shell am start -n tk.elevenk.proxysetter/.MainActivity -e host $IPADDRESS -e port 8888
评论
    相关推荐
    • vc.rar
      VC编程高手的笔记,对新手学习有很大帮助的,很多经验借鉴
    • 老程序员十年生涯黯然总结.rar
      老程序员十年生涯黯然总结 转自CSDN,作者的毅力和人品着实令人佩服!
    • a3651.rar
      牛人写的模拟电路设计学习经过和感悟,看了之后感觉自己就是个空白
    • ma1format.zip
      MA1读出器RS232兼容输出16个ASCII字符每个ASCII字符代表4个2进制位的16进制数,因此整个输出相当于64个二进制位。
    • jingjing2.rar
      国家自然科学基金资料报,需要写申报申请书的可以看看,很有帮助
    • Ada.rar
      Ada历史,并且包括它不流行的原因 希望大家
    • 61549831adjk.rar
      这是关于薛定宇教授编写的关于matlab的最优控制的集成工具箱,使用极为方便。
    • shijianguanli.rar
      程序员实用的时间管理机制,会给你的工作,生活,节省不少的时间哦
    • SuccessQuotesYourUltimateInspirationGuide.rar
      if you do what you ve always done,you will get what you ve always getten.很不错的名言,这本电子书里介绍很多人的成功经验.
    • CCSDSK5402.rar
      转载他人的,并已经著名作者出处 转载他人的,并已经著名作者出处