Wire Deploy Recon page to new recon API panels and streaming results.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
@@ -148,7 +148,22 @@ export function buildFormFingerprintCards(report: ReconScanReport, deckOrigin: s
|
||||
export type AdminSurfaceMapRow = ReconAdminSurfaceFinding;
|
||||
|
||||
export function buildAdminSurfaceMap(report: ReconScanReport): AdminSurfaceMapRow[] {
|
||||
return report.admin_surface ?? [];
|
||||
const admin = report.admin_surface ?? [];
|
||||
const uploads = (report.crawl?.upload_hunter ?? []).map((u) => {
|
||||
let path = u.target?.trim() || u.page_url;
|
||||
try {
|
||||
path = u.target?.trim() || new URL(u.page_url).pathname || u.page_url;
|
||||
} catch {
|
||||
/* relative URL */
|
||||
}
|
||||
return {
|
||||
path,
|
||||
url: u.page_url,
|
||||
status_code: u.status_code ?? 0,
|
||||
signal: u.tags?.length ? u.tags.join(' · ') : u.source || 'upload',
|
||||
};
|
||||
});
|
||||
return [...admin, ...uploads];
|
||||
}
|
||||
|
||||
export function buildTechStackHints(report: ReconScanReport) {
|
||||
|
||||
Reference in New Issue
Block a user