MCPcopy Create free account
hub / github.com/cSploit/android / addExploit

Method addExploit

cSploit/src/org/csploit/android/net/Target.java:742–758  ·  view source on GitHub ↗
(Exploit exploit)

Source from the content-addressed store, hash-verified

740 }
741
742 public void addExploit(Exploit exploit) {
743
744 exploit.setParent(this);
745
746 synchronized (exploits) {
747 Iterator<Exploit> it = exploits.iterator();
748
749 while(it.hasNext()) {
750 if(exploit.equals(it.next())) {
751 it.remove();
752 break;
753 }
754 }
755
756 exploits.add(exploit);
757 }
758 }
759
760 public Collection<Exploit> getExploits() {
761 return exploits;

Callers 2

onItemFoundMethod · 0.80
runMethod · 0.80

Calls 5

nextMethod · 0.80
removeMethod · 0.80
setParentMethod · 0.45
equalsMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected