| 5 | import java.util.HashMap; |
| 6 | |
| 7 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected