MCPcopy Create free account
hub / github.com/0x727/DropLabTools / BugService

Class BugService

src/main/java/com/droplab/service/BugService.java:7–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import java.util.HashMap;
6
7public class BugService implements BugsInfterface{
8 protected HashMap<String,String> params;
9 public void setParams(HashMap<String, String> params) {
10 this.params = params;
11 }
12 @Override
13 public boolean check() {
14 Object check = run("check");
15 if(check != null){
16 return (boolean) check;
17 }else {
18 return false;
19 }
20 }
21
22 @Override
23 public Connection.Response exploit() {
24 Object exploit = run("exploit");
25 if(exploit != null)
26 return (Connection.Response) exploit;
27 else
28 return null;
29 }
30
31 @Override
32 public Object run(String type) {
33 return null;
34 }
35
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected