Skip to content

Commit 5c48402

Browse files
committed
Merge branch 'msf_repo' into develop
Conflicts: cSploit/src/org/csploit/android/core/UpdateService.java
2 parents 594f18c + c30fc08 commit 5c48402

6 files changed

Lines changed: 67 additions & 359 deletions

File tree

cSploit/src/org/csploit/android/MainActivity.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,6 @@ private void onUpdateDone(UpdateService.action target) {
12541254
switch (target) {
12551255
case ruby_update:
12561256
case msf_update:
1257-
case gems_update:
12581257
StartRPCServer();
12591258
break;
12601259
case core_update:
@@ -1321,12 +1320,6 @@ public void onReceive(Context context, Intent intent) {
13211320
getString(R.string.new_update_desc2);
13221321

13231322
onUpdateAvailable(description, UpdateService.action.msf_update);
1324-
} else if (intent.getAction().equals(GEMS_AVAILABLE)) {
1325-
1326-
final String description = getString(R.string.new_gems_update_desc) + " " +
1327-
getString(R.string.new_update_desc2);
1328-
1329-
onUpdateAvailable(description, UpdateService.action.gems_update);
13301323
} else if (intent.getAction().equals(UPDATE_AVAILABLE)) {
13311324
final String remoteVersion = (String) intent.getExtras().get(
13321325
AVAILABLE_VERSION);

cSploit/src/org/csploit/android/core/ArchiveMetadata.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public class ArchiveMetadata {
3333
skipRoot,
3434
fixShebang,
3535
errorOccurred;
36-
public HashMap<String, LinkedList<DiffMatchPatch.Patch>>
37-
patches;
3836

3937
public ArchiveMetadata() {
4038
reset();
@@ -49,7 +47,6 @@ public void reset() {
4947
archiver = null;
5048
contentIntent = null;
5149
fixShebang = errorOccurred = skipRoot = false;
52-
patches = null;
5350
}
5451
}
5552

cSploit/src/org/csploit/android/core/UpdateChecker.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ public void run(){
7070

7171
boolean checkRuby = canCheckMsf && prefs.getBoolean("PREF_UPDATES_RUBY", true);
7272

73-
boolean checkGems = canCheckMsf && prefs.getBoolean("PREF_UPDATES_GEMS", true) &&
74-
System.getLocalRubyVersion() != null;
75-
7673
boolean checkMsf = canCheckMsf && prefs.getBoolean("PREF_UPDATES_MSF", true) &&
7774
System.getLocalRubyVersion() != null;
7875

@@ -84,8 +81,6 @@ else if(checkRuby && UpdateService.isRubyUpdateAvailable())
8481
send(RUBY_AVAILABLE);
8582
else if(checkMsf && UpdateService.isMsfUpdateAvailable()) {
8683
send(MSF_AVAILABLE);
87-
} else if(checkGems && UpdateService.isGemUpdateAvailable()){
88-
send(GEMS_AVAILABLE);
8984
} else
9085
send(UPDATE_NOT_AVAILABLE);
9186

0 commit comments

Comments
 (0)