plugins/tools/web/web

Web fetch tool. Fetches URLs over HTTP with DNS-resolution-gated SSRF protection and redirect re-validation.

Values

pub fn check_ipv4_tier1(octets: #(Int, Int, Int, Int)) -> Bool
pub fn check_ipv4_tier2(octets: #(Int, Int, Int, Int)) -> Bool
pub fn check_ipv6_tier1(host: String) -> Bool
pub fn check_ipv6_tier2(host: String) -> Bool
pub fn check_metadata_hostname(host: String) -> Bool
pub fn check_url(url: String) -> Result(Nil, String)
pub fn check_url_secrets(url: String) -> Result(Nil, String)
pub fn ipv4_from_mapped(host: String) -> String
pub fn ipv4_octets(
  host: String,
) -> Result(#(Int, Int, Int, Int), String)
pub fn is_ipv4(host: String) -> Bool
pub fn is_ipv4_mapped_ipv6(host: String) -> Bool
pub fn is_redirect(status: Int) -> Bool
pub fn resolve_redirect(
  original_url: String,
  location: String,
) -> String
pub fn tool() -> tool.Tool
Search Document