use of org.csploit.android.plugins.mitm.MITM 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());
}
use of org.csploit.android.plugins.mitm.MITM 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());
}
Aggregations