







publicstatic boolean checkRootPathSU(){Filef=null;FinalStringkSuSearchPaths[]={\"/system/bin/\",\"/system/xbin/\",\"/system/sbin/\",\"/sbin/\",\"/vendor/bin/\"};try{for(inti=0;i<kSuSearchPaths.length;i++){f=newFile(kSuSearchPaths[i]+\"su\");if(f!=null&&f.exists()){Log.i(LOG_TAG,\"findsu in : \"+kSuSearchPaths[i]);returntrue;}}}catch(Exceptione){e.printStackTrace();}returnfalse;}
publicstatic boolean isWifiProxy(Context context) {Finalboolean IS_ICS_OR_LATER = Build.VERSION.SDK_INT >=Build.VERSION_CODES.ICE_CREAM_SANDWICH;StringproxyAddress;intproxyPort;if(IS_ICS_OR_LATER) {proxyAddress= System.getProperty(\"http.proxyHost\");StringportStr = System.getProperty(\"http.proxyPort\");proxyPort= Integer.parseInt((portStr != null ? portStr : \"-1\"));}else {proxyAddress= android.net.Proxy.getHost(context);proxyPort= android.net.Proxy.getPort(context);}Log.i(\"代理信息\",\"proxyAddress:\"+proxyAddress + \"prot : \" proxyPort\")return(!TextUtils.isEmpty(proxyAddress)) && (proxyPort != -1);}

















记一次卑微的渗透测试
pwn入门之栈入门
MYSQL另类利用方式

最新评论
Thanks for your blog, nice to read. Do not stop.
1
1
你图片显示不了
你的网站怎么注册啊