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

Brute parameters failed to show in logger #13

Open
Tyaoo opened this issue Sep 28, 2021 · 0 comments
Open

Brute parameters failed to show in logger #13

Tyaoo opened this issue Sep 28, 2021 · 0 comments

Comments

@Tyaoo
Copy link

Tyaoo commented Sep 28, 2021

revise the code at scripts/popup.js:88

function listFound(found) {
    // foundList.innerHTML = '';
    foundLabel.style.display = foundList.style.display = found.length > 0 ? 'block' : 'none';
    found.forEach((str) => {
        try {
            const line = JSON.parse(str);
            const tr = document.createElement("tr");
            if (line['domain'] == 'null') 
                hostname = line['domain'];
            else
                hostname = new URL(line['domain']).hostname;
            tr.innerHTML = `<td><a target="_blank" href="${line['domain']}">${hostname}</a></td><td>${line['type']}</td><td><a target="_blank" href="${line['file']}">${line['file']}:${line['lineCol']}</a></td>`;
            foundList.appendChild(tr);
        } catch (e) {
            const tr = document.createElement("tr");
            tr.innerHTML = `<td><a target="_blank" href="${str}">${new URL(str).hostname}</a></td><td>brute</td><td><a target="_blank" href="${str}">${str}</a></td>`;
            foundList.appendChild(tr);
        }
    });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant