MCPcopy Create free account
hub / github.com/Daybr4ak/ShiroScan / CustomScanIssue

Class CustomScanIssue

src/main/java/burp/BurpExtender.java:378–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378class CustomScanIssue implements IScanIssue
379{
380 private IHttpService httpService;
381 private URL url;
382 private IHttpRequestResponse[] httpMessages;
383 private String name;
384 private String detail;
385 private String severity;
386
387 /**
388 *
389 * @param httpService HTTP服务
390 * @param url 漏洞url
391 * @param httpMessages HTTP消息
392 * @param name 漏洞名称
393 * @param detail 漏洞细节
394 * @param severity 漏洞等级
395 */
396 public CustomScanIssue(
397 IHttpService httpService,
398 URL url,
399 IHttpRequestResponse[] httpMessages,
400 String name,
401 String detail,
402 String severity)
403 {
404 this.httpService = httpService;
405 this.url = url;
406 this.httpMessages = httpMessages;
407 this.name = name;
408 this.detail = detail;
409 this.severity = severity;
410 }
411
412 public URL getUrl()
413 {
414 return url;
415 }
416
417 public String getIssueName()
418 {
419 return name;
420 }
421
422 public int getIssueType()
423 {
424 return 0;
425 }
426
427 public String getSeverity()
428 {
429 return severity;
430 }
431
432 public String getConfidence()
433 {
434 return "Certain";
435 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected