MCPcopy Create free account
hub / github.com/albinowax/ActiveScanPlusPlus / fetchURL

Method fetchURL

src/burp/PerHostScans.java:71–75  ·  view source on GitHub ↗
(IHttpRequestResponse basePair, String url)

Source from the content-addressed store, hash-verified

69 }
70
71 private IHttpRequestResponse fetchURL(IHttpRequestResponse basePair, String url) {
72 String path = Utilities.helpers.analyzeRequest(basePair).getUrl().getPath();
73 String newReq = safeBytesToString(basePair.getRequest()).replaceFirst(path, url);
74 return Utilities.callbacks.makeHttpRequest(basePair.getHttpService(), newReq.getBytes());
75 }
76
77 // Placeholder methods for helpers and callbacks, assumed to be provided elsewhere
78 static String safeBytesToString(byte[] bytes) {

Callers 1

interestingFileScanMethod · 0.95

Calls 3

safeBytesToStringMethod · 0.95
getUrlMethod · 0.80
getHttpServiceMethod · 0.80

Tested by

no test coverage detected