MCPcopy Create free account
hub / github.com/akabe1/OAUTHScan / getQueryMap

Method getQueryMap

src/burp/BurpExtender.java:282–297  ·  view source on GitHub ↗
(String query)

Source from the content-addressed store, hash-verified

280
281
282 public static Map<String, String> getQueryMap(String query) {
283 // Extract the params from URL query
284 Map<String, String> qmap = new HashMap<String, String>();
285 if (query == null) {
286 return null;
287 }
288 String[] qparams = query.split("&");
289 for (String qparam : qparams) {
290 if (qparam.split("=").length > 1) {
291 String name = qparam.split("=")[0];
292 String value = qparam.split("=")[1];
293 qmap.put(name, value);
294 }
295 }
296 return qmap;
297 }
298
299
300

Callers 1

doPassiveScanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected