Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audit.issues allways empty #52

Closed
Kaide0521 opened this issue May 10, 2023 · 1 comment
Closed

audit.issues allways empty #52

Kaide0521 opened this issue May 10, 2023 · 1 comment

Comments

@Kaide0521
Copy link

MontoyaApi version : 2023.2
burpsuite pro v2023.1.2

 Audit audit =
                LegacyBurpExtender.getInstance().getMontoyaApi().scanner().startAudit(AuditConfiguration.auditConfiguration(BuiltInAuditConfiguration.LEGACY_ACTIVE_AUDIT_CHECKS));
        for(HttpMessage info : submitTraffic){
            System.out.println(new String(info.getRequest()));
            audit.addRequest(HttpRequest.httpRequest(new String(info.getRequest())));
//            LegacyBurpExtender.getInstance().getCallbacks().doActiveScan("127.0.0.1",
//                    8080, false,
//                    info.getRequest());
        }
        while (!"finished".equals(audit.statusMessage())) {
            System.out.println(audit.statusMessage());
            System.out.println("audit.requestCount()" + audit.requestCount());
            System.out.println("audit.issues()" + audit.issues().size());
            List<AuditIssue> issues = LegacyBurpExtender.getInstance().getMontoyaApi().siteMap().issues();
            System.out.println("siteMap.issues()" + issues.size());
            Thread.sleep(5000);
        }
@Hannah-PortSwigger
Copy link
Contributor

This was also reported in #9

We've added your +1 for this functionality. Unfortunately, this and the equivalent functionality in the legacy Extender API has always returned empty.

We would recommend retrieving issues from the Site Map instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants