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

Method MsfUpdate

cSploit/src/org/csploit/android/update/MsfUpdate.java:13–25  ·  view source on GitHub ↗
(Context context, String url, String version)

Source from the content-addressed store, hash-verified

11 */
12public class MsfUpdate extends Update {
13 public MsfUpdate(Context context, String url, String version) {
14 this.url = url;
15 this.version = version;
16
17 name = "msf.tar.xz";
18 path = String.format("%s/%s", System.getStoragePath(), name);
19 outputDir = System.getMsfPath();
20 executableOutputDir = ExecChecker.msf().getRoot();
21 archiver = Update.archiveAlgorithm.tar;
22 compression = Update.compressionAlgorithm.xz;
23 fixShebang = wipeOnFail = true;
24 prompt = context.getString(R.string.new_msf_found);
25 }
26}

Callers

nothing calls this directly

Calls 5

getStoragePathMethod · 0.95
getMsfPathMethod · 0.95
msfMethod · 0.95
formatMethod · 0.80
getRootMethod · 0.80

Tested by

no test coverage detected