APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:SUWAS SSH VPN
版本号:3.0
包名称:suwas.vpn.inject

MD5 校验值:1fc9c7d9bea45dd359a8e0644d6972ec

反编译源代码说明

s.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package kpn.soft.dev.kpntunnel.activities;

import java.util.ArrayList;
import kpn.soft.dev.kpntunnel.App;

public class s implements Runnable {

    final MainActivity f3251a;

    public s(MainActivity mainActivity) {
        this.f3251a = mainActivity;
    }

    @Override
    public void run() {
        ArrayList arrayList = new ArrayList();
        kpn.soft.dev.kpntunnel.b.j jVar = new kpn.soft.dev.kpntunnel.b.j();
        if (!jVar.a(false)) {
            App.a(null, "Vpn Wifi Tether need Root Access");
            return;
        }
        arrayList.add("iptables --flush");
        arrayList.add("iptables -t filter -F FORWARD");
        arrayList.add("iptables -t nat -F POSTROUTING");
        arrayList.add("iptables -t filter -A FORWARD -j ACCEPT");
        arrayList.add("iptables -t nat -A POSTROUTING -j MASQUERADE");
        arrayList.add("iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to 1.1.1.1");
        arrayList.add("ip rule add from 192.168.43.0/24 lookup 61");
        arrayList.add("ip route add default dev tun0 scope link table 61");
        arrayList.add("ip route add 192.168.43.0/24 dev wlan0 scope link table 61");
        arrayList.add("ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61");
        jVar.a(arrayList);
        App.a(null, "Vpn Wifi Tether Enabled, Reboot Device to Disabled");
    }
}