MCPcopy Create free account
hub / github.com/XF-FS/APIKit / clearScanState

Method clearScanState

src/main/java/burp/application/ApiScanner.java:61–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 public void clearScanState() {
62 for (BiFunction<IHttpRequestResponse, Boolean, ApiType> constructor : apiTypeConstructors) {
63 try {
64 ApiType apiType = constructor.apply(null, true);
65 if (apiType instanceof ApiTypeActuator) {
66 ((ApiTypeActuator) apiType).clearScanState();
67 } else if (apiType instanceof ApiTypeSwagger) {
68 ((ApiTypeSwagger) apiType).clearScanState();
69 }
70 } catch (Exception e) {
71 BurpExtender.getStderr().println(CommonUtils.exceptionToString(e));
72 }
73 }
74 }
75}
76

Callers 1

clearUrlScanedCacheMethod · 0.45

Calls 2

getStderrMethod · 0.95
exceptionToStringMethod · 0.95

Tested by

no test coverage detected