Search in sources :

Example 1 with ExploitFinder

use of org.csploit.android.plugins.ExploitFinder in project android by cSploit.

the class CSploitApplication method onCreate.

@Override
public void onCreate() {
    SharedPreferences themePrefs = getSharedPreferences("THEME", 0);
    Boolean isDark = themePrefs.getBoolean("isDark", false);
    if (isDark)
        setTheme(R.style.DarkTheme);
    else
        setTheme(R.style.AppTheme);
    super.onCreate();
    ACRA.init(this);
    Services.init(this);
    // initialize the system
    try {
        System.init(this);
    } catch (Exception e) {
        // ignore exception when the user has wifi off
        if (!(e instanceof NoRouteToHostException))
            System.errorLogging(e);
    }
    ACRA.setConfig(ACRA.getConfig().setApplicationLogFile(System.getCorePath() + "/cSploitd.log"));
    // load system modules even if the initialization failed
    System.registerPlugin(new RouterPwn());
    System.registerPlugin(new Traceroute());
    System.registerPlugin(new PortScanner());
    System.registerPlugin(new Inspector());
    System.registerPlugin(new ExploitFinder());
    System.registerPlugin(new LoginCracker());
    System.registerPlugin(new Sessions());
    System.registerPlugin(new MITM());
    System.registerPlugin(new PacketForger());
}
Also used : RouterPwn(org.csploit.android.plugins.RouterPwn) SharedPreferences(android.content.SharedPreferences) Traceroute(org.csploit.android.plugins.Traceroute) Sessions(org.csploit.android.plugins.Sessions) PacketForger(org.csploit.android.plugins.PacketForger) LoginCracker(org.csploit.android.plugins.LoginCracker) PortScanner(org.csploit.android.plugins.PortScanner) NoRouteToHostException(java.net.NoRouteToHostException) NoRouteToHostException(java.net.NoRouteToHostException) MITM(org.csploit.android.plugins.mitm.MITM) Inspector(org.csploit.android.plugins.Inspector) ExploitFinder(org.csploit.android.plugins.ExploitFinder)

Example 2 with ExploitFinder

use of org.csploit.android.plugins.ExploitFinder in project android by cSploit.

the class MainFragment method registerPlugins.

private void registerPlugins() {
    if (!System.getPlugins().isEmpty())
        return;
    System.registerPlugin(new RouterPwn());
    System.registerPlugin(new Traceroute());
    System.registerPlugin(new PortScanner());
    System.registerPlugin(new Inspector());
    System.registerPlugin(new ExploitFinder());
    System.registerPlugin(new LoginCracker());
    System.registerPlugin(new Sessions());
    System.registerPlugin(new MITM());
    System.registerPlugin(new PacketForger());
}
Also used : MITM(org.csploit.android.plugins.mitm.MITM) RouterPwn(org.csploit.android.plugins.RouterPwn) Traceroute(org.csploit.android.plugins.Traceroute) Sessions(org.csploit.android.plugins.Sessions) Inspector(org.csploit.android.plugins.Inspector) ExploitFinder(org.csploit.android.plugins.ExploitFinder) PacketForger(org.csploit.android.plugins.PacketForger) LoginCracker(org.csploit.android.plugins.LoginCracker) PortScanner(org.csploit.android.plugins.PortScanner)

Aggregations

ExploitFinder (org.csploit.android.plugins.ExploitFinder)2 Inspector (org.csploit.android.plugins.Inspector)2 LoginCracker (org.csploit.android.plugins.LoginCracker)2 PacketForger (org.csploit.android.plugins.PacketForger)2 PortScanner (org.csploit.android.plugins.PortScanner)2 RouterPwn (org.csploit.android.plugins.RouterPwn)2 Sessions (org.csploit.android.plugins.Sessions)2 Traceroute (org.csploit.android.plugins.Traceroute)2 MITM (org.csploit.android.plugins.mitm.MITM)2 SharedPreferences (android.content.SharedPreferences)1 NoRouteToHostException (java.net.NoRouteToHostException)1