Skip to content
Spiderfootplus

Type to search. Press / or Ctrl K from any page.

Module · Content Analysis

js_endpoints

Extract URLs and API paths baked into a site's JavaScript to widen the mapped attack surface.

FootprintInvestigateNo API key

Run it

# Run only this module on one input$ spiderfootplus try js_endpoints LINKED_URL_INTERNAL https://www.example.com/ # Run it as part of the web profile$ spiderfootplus scan example.com -p web # Change an option for one scan$ spiderfootplus scan example.com -p web --set js_endpoints.maxbytes=2097152

-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.

Options

OptionDefaultWhat it does
maxbytes2097152Only read the first this-many bytes of a script
maxurls500Emit at most this many discovered URLs per scan
historictrueAlso mine archived JavaScript recovered from web archives
maxhistoric15Fetch at most this many archived scripts per scan (each is one web-archive request)
wayback_basehttps://web.archive.orgWeb archive base for fetching archived scripts

Fed by

Feeds

Correlation rules that use its results