MCPcopy Index your code
hub / github.com/cSploit/android / reset

Method reset

cSploit/src/org/csploit/android/core/System.java:933–952  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931 }
932
933 public static void reset() {
934 mCurrentTarget = null;
935
936 synchronized (mTargets) {
937 mTargets.clear();
938
939 Target network = new Target(mNetwork),
940 gateway = new Target(mNetwork.getGatewayAddress(), mNetwork.getGatewayHardware()),
941 device = new Target(mNetwork.getLocalAddress(), mNetwork.getLocalHardware());
942
943 gateway.setAlias(mNetwork.getSSID());
944 device.setAlias(android.os.Build.MODEL);
945
946 mTargets.add(network);
947 mTargets.add(gateway);
948 mTargets.add(device);
949
950 scanThemAll();
951 }
952 }
953
954 public static void scanThemAll() {
955 if(!Services.getNetworkRadar().isAutoScanEnabled()) {

Callers 15

onConfirmMethod · 0.95
loadSessionMethod · 0.95
getKeysMethod · 0.45
getKeysMethod · 0.45
getKeysMethod · 0.45
getKeysMethod · 0.45
forthDicMethod · 0.45
secondDicMethod · 0.45
firstDicMethod · 0.45
getKeysMethod · 0.45
getKeysMethod · 0.45

Calls 9

setAliasMethod · 0.95
scanThemAllMethod · 0.95
clearMethod · 0.80
getGatewayHardwareMethod · 0.80
getLocalAddressMethod · 0.80
getLocalHardwareMethod · 0.80
getSSIDMethod · 0.80
getGatewayAddressMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected