Module · Web
sourcemap_scan
Reachable JavaScript source maps that reconstruct the original source tree.
FootprintInvestigateNo API key
Run it
# Run only this module on one input$ spiderfootplus try sourcemap_scan LINKED_URL_INTERNAL https://www.example.com/ # Run it as part of the standard profile$ spiderfootplus scan example.com -p standard # Change an option for one scan$ spiderfootplus scan example.com -p standard --set sourcemap_scan.probe_convention=true-mreplaces a profile's module list and does not add the modules that feed this one, so a profile is the simplest way to get its inputs. Only scan targets you are authorised to assess.
Watches (input)
Produces (output)
Options
| Option | Default | What it does |
|---|---|---|
| probe_convention | true | Also try <script>.map when the script has no sourceMappingURL pointer |
| max_maps | 50 | Stop after reporting this many exposed source maps |
| maxbytes | 4194304 | Max bytes to read from a map file |
Fed by
- archive_urlsHistorical URLs and query parameters for the target domain from web archives (Wayback Machine and Common Crawl)
- http_probeFetch each hostname over HTTPS/HTTP and record server headers, title and technology hints
- js_endpointsExtract URLs and API paths baked into a site's JavaScript to widen the mapped attack surface
- site_mapCrawl the target's own site: list its pages, forms, sign-in and upload pages, and parameters
- well_knownrobots.txt, sitemaps, security.txt and humans.txt on each web host
Feeds
Its results are end points; no other native module consumes them.