[][src]Function feroxbuster::extractor::get_links

pub async fn get_links(
    response: &FeroxResponse,
    tx_stats: UnboundedSender<StatCommand>
) -> HashSet<String>

Given a reqwest::Response, perform the following actions

  • parse the response's text for links using the linkfinder regex
  • for every link found take its url path and parse each sub-path
    • example: Response contains a link fragment homepage/assets/img/icons/handshake.svg with a base url of http://localhost, the following urls would be returned:
      • homepage/assets/img/icons/handshake.svg
      • homepage/assets/img/icons/
      • homepage/assets/img/
      • homepage/assets/
      • homepage/