MCPcopy Create free account
hub / github.com/EASY233/BpScan / isBlackheader

Method isBlackheader

BPScan/src/main/java/burp/common/ScanJudge.java:39–49  ·  view source on GitHub ↗
(List<String> resheaders)

Source from the content-addressed store, hash-verified

37 return false;
38 }
39 public boolean isBlackheader(List<String> resheaders){
40 List<String> blackFeatures = YamlReader.getInstance(callbacks).getStringList("scan.blackFeatures");
41 for(int i=1;i<resheaders.size();i++){
42 for(String Features:blackFeatures){
43 if(resheaders.get(i).contains(Features)){
44 return true;
45 }
46 }
47 }
48 return false;
49 }
50}

Callers 1

doPassiveScanMethod · 0.80

Calls 2

getInstanceMethod · 0.95
getStringListMethod · 0.80

Tested by

no test coverage detected